X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=block%2Fgenhd.c;h=25d1f42568cc19714a2f8a5469ecd2842e9ea7e5;hb=fb0ba6bd021248b6bdc58a7b1213a55a6776a38a;hp=5a8d3bf02f1715702fe94515339f1cdfbfd3d088;hpb=68eef3b4791572ecb70249c7fb145bb3742dd899;p=powerpc.git diff --git a/block/genhd.c b/block/genhd.c index 5a8d3bf02f..25d1f42568 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