Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ide: export ide_doubler

This patch fixes the following build error:

<-- snip -->

...
Building modules, stage 2.
MODPOST 1204 modules
ERROR: "ide_doubler" [drivers/ide/ide-core.ko] undefined!
...
make[2]: *** [__modpost] Error 1

<-- snip -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

authored by

Adrian Bunk and committed by
Bartlomiej Zolnierkiewicz
513f3c10 fb374966

+4
+4
drivers/ide/legacy/gayle.c
··· 16 16 #include <linux/ide.h> 17 17 #include <linux/init.h> 18 18 #include <linux/zorro.h> 19 + #include <linux/module.h> 19 20 20 21 #include <asm/setup.h> 21 22 #include <asm/amigahw.h> ··· 63 62 GAYLE_NUM_HWIFS-1) 64 63 #define GAYLE_HAS_CONTROL_REG (!ide_doubler) 65 64 #define GAYLE_IDEREG_SIZE (ide_doubler ? 0x1000 : 0x2000) 65 + 66 66 int ide_doubler = 0; /* support IDE doublers? */ 67 + EXPORT_SYMBOL_GPL(ide_doubler); 68 + 67 69 module_param_named(doubler, ide_doubler, bool, 0); 68 70 MODULE_PARM_DESC(doubler, "enable support for IDE doublers"); 69 71 #endif /* CONFIG_BLK_DEV_IDEDOUBLER */