[2.6 patch] deadline-iosched.c: make a struct static
This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch was already sent on: - 29 Jan 2005 --- linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c.old 2005-01-29 14:07:00.0 +0100 +++ linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c 2005-01-29 14:07:10.0 +0100 @@ -909,7 +909,7 @@ .store = deadline_attr_store, }; -struct kobj_type deadline_ktype = { +static struct kobj_type deadline_ktype = { .sysfs_ops = &deadline_sysfs_ops, .default_attrs = default_attrs, }; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[2.6 patch] deadline-iosched.c: make a struct static
This patch makes a needlessly global struct static. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c.old 2005-01-29 14:07:00.0 +0100 +++ linux-2.6.11-rc2-mm1-full/drivers/block/deadline-iosched.c 2005-01-29 14:07:10.0 +0100 @@ -909,7 +909,7 @@ .store = deadline_attr_store, }; -struct kobj_type deadline_ktype = { +static struct kobj_type deadline_ktype = { .sysfs_ops = &deadline_sysfs_ops, .default_attrs = default_attrs, }; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/