~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/s390/cio/css.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
int max_ssid;
36
36
 
37
37
struct channel_subsystem *channel_subsystems[__MAX_CSSID + 1];
 
38
static struct bus_type css_bus_type;
38
39
 
39
40
int
40
41
for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *data)
1214
1215
        .restore = css_pm_restore,
1215
1216
};
1216
1217
 
1217
 
struct bus_type css_bus_type = {
 
1218
static struct bus_type css_bus_type = {
1218
1219
        .name     = "css",
1219
1220
        .match    = css_bus_match,
1220
1221
        .probe    = css_probe,
1233
1234
 */
1234
1235
int css_driver_register(struct css_driver *cdrv)
1235
1236
{
1236
 
        cdrv->drv.name = cdrv->name;
1237
1237
        cdrv->drv.bus = &css_bus_type;
1238
 
        cdrv->drv.owner = cdrv->owner;
1239
1238
        return driver_register(&cdrv->drv);
1240
1239
}
1241
1240
EXPORT_SYMBOL_GPL(css_driver_register);
1253
1252
EXPORT_SYMBOL_GPL(css_driver_unregister);
1254
1253
 
1255
1254
MODULE_LICENSE("GPL");
1256
 
EXPORT_SYMBOL(css_bus_type);