X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=block%2Fgenhd.c;h=8d7339511e5e962dfccca43298a06e24a48df846;hb=8a835f11bce68ed990533e49b5dedb00bee46d71;hp=5a8d3bf02f1715702fe94515339f1cdfbfd3d088;hpb=a8b59e79ed55de97949ff1ca7d933786b95b39bd;p=linux-2.6 diff --git a/block/genhd.c b/block/genhd.c index 5a8d3bf02f..8d7339511e 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -17,8 +17,7 @@ #include #include -static struct subsystem block_subsys; - +struct subsystem block_subsys; static DEFINE_MUTEX(block_subsys_lock); /* @@ -511,9 +510,7 @@ static struct kset_uevent_ops block_uevent_ops = { .uevent = block_uevent, }; -/* declare block_subsys. */ -static decl_subsys(block, &ktype_block, &block_uevent_ops); - +decl_subsys(block, &ktype_block, &block_uevent_ops); /* * aggregate disk stat collector. Uses the same stats that the sysfs