diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-11 18:37:19 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-02 16:38:11 -0400 |
commit | 5b5d9117407e790ade594687010343c5d559a1f4 (patch) | |
tree | bef1cedd053ae0eec09fa5af3cf3012141b2ede9 /drivers/acpi/debug.c | |
parent | 8e0ee43bc2c3e19db56a4adaa9a9b04ce885cd84 (diff) |
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/debug.c')
-rw-r--r-- | drivers/acpi/debug.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/acpi/debug.c b/drivers/acpi/debug.c index 20223cbd0d1c..25f9c38531bd 100644 --- a/drivers/acpi/debug.c +++ b/drivers/acpi/debug.c | |||
@@ -13,11 +13,6 @@ | |||
13 | #define _COMPONENT ACPI_SYSTEM_COMPONENT | 13 | #define _COMPONENT ACPI_SYSTEM_COMPONENT |
14 | ACPI_MODULE_NAME("debug"); | 14 | ACPI_MODULE_NAME("debug"); |
15 | 15 | ||
16 | #ifdef MODULE_PARAM_PREFIX | ||
17 | #undef MODULE_PARAM_PREFIX | ||
18 | #endif | ||
19 | #define MODULE_PARAM_PREFIX "acpi." | ||
20 | |||
21 | struct acpi_dlayer { | 16 | struct acpi_dlayer { |
22 | const char *name; | 17 | const char *name; |
23 | unsigned long value; | 18 | unsigned long value; |