X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=block%2Fgenhd.c;h=25d1f42568cc19714a2f8a5469ecd2842e9ea7e5;hb=29ed46015dd61f99d203ec7ab307ccf92d2d0cf2;hp=5a8d3bf02f1715702fe94515339f1cdfbfd3d088;hpb=f27f0a045b79de5729d064497e21a70871f1d6fe;p=mv-sheeva.git diff --git a/block/genhd.c b/block/genhd.c index 5a8d3bf02f1..25d1f42568c 100644 --- a/block/genhd.c +++ b/block/genhd.c @@ -2,7 +2,6 @@ * gendisk handling */ -#include #include #include #include @@ -17,8 +16,7 @@ #include #include -static struct subsystem block_subsys; - +struct subsystem block_subsys; static DEFINE_MUTEX(block_subsys_lock); /* @@ -511,9 +509,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