X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=block%2Fgenhd.c;h=25d1f42568cc19714a2f8a5469ecd2842e9ea7e5;hb=29ed46015dd61f99d203ec7ab307ccf92d2d0cf2;hp=5a8d3bf02f1715702fe94515339f1cdfbfd3d088;hpb=5b4b7a236e7787f16af4e15a6253d46d8e794be6;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