diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-11 23:37:19 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-02 22:38:11 +0200 |
commit | 5b5d9117407e790ade594687010343c5d559a1f4 (patch) | |
tree | bef1cedd053ae0eec09fa5af3cf3012141b2ede9 /drivers/acpi/system.c | |
parent | Linux 2.6.29 (diff) | |
download | linux-5b5d9117407e790ade594687010343c5d559a1f4.tar.xz linux-5b5d9117407e790ade594687010343c5d559a1f4.zip |
ACPI: simplify module_param namespace
Impact: cleanup
Rather than overriding MODULE_PARAM_PREFIX, build via acpi.o so
KBUILD_MODNAME is set to "acpi".
This is the logical way to do it, even though acpi cannot be a module
due to these config options being bool. Those parts of ACPI which can
be modular are not built into the acpi "module".
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/system.c')
-rw-r--r-- | drivers/acpi/system.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c index 391d0358a592..a0499d00020c 100644 --- a/drivers/acpi/system.c +++ b/drivers/acpi/system.c @@ -33,10 +33,6 @@ #define _COMPONENT ACPI_SYSTEM_COMPONENT ACPI_MODULE_NAME("system"); -#ifdef MODULE_PARAM_PREFIX -#undef MODULE_PARAM_PREFIX -#endif -#define MODULE_PARAM_PREFIX "acpi." #define ACPI_SYSTEM_CLASS "system" #define ACPI_SYSTEM_DEVICE_NAME "System" |