diff options
author | Denis Cheng <crquan@gmail.com> | 2008-02-05 20:57:49 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-05 20:57:49 -0500 |
commit | 594765a7316562cb7442f760a9a2f6e02804b610 (patch) | |
tree | dc9b68df0c9d459f228d50895b280aa98f411312 /drivers/ide/pci/Makefile | |
parent | b004223db7249d42db893df916457acecc22759c (diff) |
ide-pci-generic: kill the unused ifdef/endif/MODULE code
with module_param macro, the __setup code can be killed now:
const __setup("all-generic-ide", ide_generic_all_on);
and the module name "generic.ko" is not descriptive to its functionality,
can be changed in Makefile, the "ide-pci-generic.ko" is better.
the ide-pci-generic.all-generic-ide parameter also documented
in Documentation/kernel-parameters.txt
Signed-off-by: Denis Cheng <crquan@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/Makefile')
-rw-r--r-- | drivers/ide/pci/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/pci/Makefile b/drivers/ide/pci/Makefile index 94803253e8af..02e6ee7d751d 100644 --- a/drivers/ide/pci/Makefile +++ b/drivers/ide/pci/Makefile | |||
@@ -34,7 +34,8 @@ obj-$(CONFIG_BLK_DEV_TRM290) += trm290.o | |||
34 | obj-$(CONFIG_BLK_DEV_VIA82CXXX) += via82cxxx.o | 34 | obj-$(CONFIG_BLK_DEV_VIA82CXXX) += via82cxxx.o |
35 | 35 | ||
36 | # Must appear at the end of the block | 36 | # Must appear at the end of the block |
37 | obj-$(CONFIG_BLK_DEV_GENERIC) += generic.o | 37 | obj-$(CONFIG_BLK_DEV_GENERIC) += ide-pci-generic.o |
38 | ide-pci-generic-y += generic.o | ||
38 | 39 | ||
39 | ifeq ($(CONFIG_BLK_DEV_CMD640), m) | 40 | ifeq ($(CONFIG_BLK_DEV_CMD640), m) |
40 | obj-m += cmd640.o | 41 | obj-m += cmd640.o |