]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-pci-generic: kill the unused ifdef/endif/MODULE code
authorDenis Cheng <crquan@gmail.com>
Wed, 6 Feb 2008 01:57:49 +0000 (02:57 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 6 Feb 2008 01:57:49 +0000 (02:57 +0100)
commit594765a7316562cb7442f760a9a2f6e02804b610
treedc9b68df0c9d459f228d50895b280aa98f411312
parentb004223db7249d42db893df916457acecc22759c
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>
Documentation/kernel-parameters.txt
drivers/ide/pci/Makefile
drivers/ide/pci/generic.c