Prev: drivers/base/power: be more verbose in device_pm_add()
Next: staging: usbip: usbip_common: kill rx thread on tx thread creation error.
From: Randy Dunlap on 4 Jun 2010 12:50 From: Randy Dunlap <randy.dunlap(a)oracle.com> Fix build for CONFIG_PROC_FS not enabled; fixes this build error: drivers/block/cciss.c:3422: error: implicit declaration of function 'next_command' Looks like the next_command() function was added at a bad location in cciss-add-performant-mode-support-for-stars-sirius.patch. Signed-off-by: Randy Dunlap <randy.dunlap(a)oracle.com> Cc: Mike Miller <mike.miller(a)hp.com> --- drivers/block/cciss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- mmotm-2010-0603-1636.orig/drivers/block/cciss.c +++ mmotm-2010-0603-1636/drivers/block/cciss.c @@ -372,8 +372,6 @@ static const char *raid_label[] = { "0", }; #define RAID_UNKNOWN (sizeof(raid_label) / sizeof(raid_label[0])-1) -#ifdef CONFIG_PROC_FS - static inline u32 next_command(ctlr_info_t *h) { u32 a; @@ -396,6 +394,8 @@ static inline u32 next_command(ctlr_info return a; } +#ifdef CONFIG_PROC_FS + /* * Report information about this controller. */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |