diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:47 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:47 -0400 |
commit | 931ee0dc5c69e8113233d21942681ab8fecde7f9 (patch) | |
tree | 5de3137f0eb3557727c1233c92b558256408f92c /drivers/ide/ide-acpi.c | |
parent | dbac9f895f628deebc99dee86dfd21c1823013c3 (diff) |
ide: remove obsoleted "ide=" kernel parameters
* Remove obsoleted "ide=" kernel parameters.
* Remove no longer needed:
- ide_setup()
- parse_options()
- __setup("", ...)
- module_param(options, ...)
* Use module_{init,exit}() for MODULE=y case and remove MODULE ifdef.
* Make ide_*acpi* and ide_doubler variables static.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-acpi.c')
-rw-r--r-- | drivers/ide/ide-acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c index 9d3601fa5680..6f704628c27d 100644 --- a/drivers/ide/ide-acpi.c +++ b/drivers/ide/ide-acpi.c | |||
@@ -60,15 +60,15 @@ struct ide_acpi_hwif_link { | |||
60 | #define DEBPRINT(fmt, args...) do {} while (0) | 60 | #define DEBPRINT(fmt, args...) do {} while (0) |
61 | #endif /* DEBUGGING */ | 61 | #endif /* DEBUGGING */ |
62 | 62 | ||
63 | int ide_noacpi; | 63 | static int ide_noacpi; |
64 | module_param_named(noacpi, ide_noacpi, bool, 0); | 64 | module_param_named(noacpi, ide_noacpi, bool, 0); |
65 | MODULE_PARM_DESC(noacpi, "disable IDE ACPI support"); | 65 | MODULE_PARM_DESC(noacpi, "disable IDE ACPI support"); |
66 | 66 | ||
67 | int ide_acpigtf; | 67 | static int ide_acpigtf; |
68 | module_param_named(acpigtf, ide_acpigtf, bool, 0); | 68 | module_param_named(acpigtf, ide_acpigtf, bool, 0); |
69 | MODULE_PARM_DESC(acpigtf, "enable IDE ACPI _GTF support"); | 69 | MODULE_PARM_DESC(acpigtf, "enable IDE ACPI _GTF support"); |
70 | 70 | ||
71 | int ide_acpionboot; | 71 | static int ide_acpionboot; |
72 | module_param_named(acpionboot, ide_acpionboot, bool, 0); | 72 | module_param_named(acpionboot, ide_acpionboot, bool, 0); |
73 | MODULE_PARM_DESC(acpionboot, "call IDE ACPI methods on boot"); | 73 | MODULE_PARM_DESC(acpionboot, "call IDE ACPI methods on boot"); |
74 | 74 | ||