diff options
author | Len Brown <len.brown@intel.com> | 2008-02-07 03:11:31 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 03:11:31 -0500 |
commit | 5531d28504461c4e96c6fbd80655a2bfd6481583 (patch) | |
tree | 7074feb4e296501b5c6b8486eb5f0e5fa0a35c37 /drivers/acpi/osl.c | |
parent | acf63867ae06ef95eea7bf445ded2f05528a81b1 (diff) | |
parent | a64217b922e5a06f328e3962ff903ce829aff3d6 (diff) |
Merge branches 'release' and 'dmi' into release
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index e96f3d933f67..9772a48f36f1 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -120,7 +120,7 @@ static char osi_additional_string[OSI_STRING_LENGTH_MAX]; | |||
120 | */ | 120 | */ |
121 | #define OSI_LINUX_ENABLE 0 | 121 | #define OSI_LINUX_ENABLE 0 |
122 | 122 | ||
123 | struct osi_linux { | 123 | static struct osi_linux { |
124 | unsigned int enable:1; | 124 | unsigned int enable:1; |
125 | unsigned int dmi:1; | 125 | unsigned int dmi:1; |
126 | unsigned int cmdline:1; | 126 | unsigned int cmdline:1; |
@@ -1217,24 +1217,24 @@ acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object) | |||
1217 | * | 1217 | * |
1218 | * Returns 0 on success | 1218 | * Returns 0 on success |
1219 | */ | 1219 | */ |
1220 | int acpi_dmi_dump(void) | 1220 | static int acpi_dmi_dump(void) |
1221 | { | 1221 | { |
1222 | 1222 | ||
1223 | if (!dmi_available) | 1223 | if (!dmi_available) |
1224 | return -1; | 1224 | return -1; |
1225 | 1225 | ||
1226 | printk(KERN_NOTICE PREFIX "DMI System Vendor: %s\n", | 1226 | printk(KERN_NOTICE PREFIX "DMI System Vendor: %s\n", |
1227 | dmi_get_slot(DMI_SYS_VENDOR)); | 1227 | dmi_get_system_info(DMI_SYS_VENDOR)); |
1228 | printk(KERN_NOTICE PREFIX "DMI Product Name: %s\n", | 1228 | printk(KERN_NOTICE PREFIX "DMI Product Name: %s\n", |
1229 | dmi_get_slot(DMI_PRODUCT_NAME)); | 1229 | dmi_get_system_info(DMI_PRODUCT_NAME)); |
1230 | printk(KERN_NOTICE PREFIX "DMI Product Version: %s\n", | 1230 | printk(KERN_NOTICE PREFIX "DMI Product Version: %s\n", |
1231 | dmi_get_slot(DMI_PRODUCT_VERSION)); | 1231 | dmi_get_system_info(DMI_PRODUCT_VERSION)); |
1232 | printk(KERN_NOTICE PREFIX "DMI Board Name: %s\n", | 1232 | printk(KERN_NOTICE PREFIX "DMI Board Name: %s\n", |
1233 | dmi_get_slot(DMI_BOARD_NAME)); | 1233 | dmi_get_system_info(DMI_BOARD_NAME)); |
1234 | printk(KERN_NOTICE PREFIX "DMI BIOS Vendor: %s\n", | 1234 | printk(KERN_NOTICE PREFIX "DMI BIOS Vendor: %s\n", |
1235 | dmi_get_slot(DMI_BIOS_VENDOR)); | 1235 | dmi_get_system_info(DMI_BIOS_VENDOR)); |
1236 | printk(KERN_NOTICE PREFIX "DMI BIOS Date: %s\n", | 1236 | printk(KERN_NOTICE PREFIX "DMI BIOS Date: %s\n", |
1237 | dmi_get_slot(DMI_BIOS_DATE)); | 1237 | dmi_get_system_info(DMI_BIOS_DATE)); |
1238 | 1238 | ||
1239 | return 0; | 1239 | return 0; |
1240 | } | 1240 | } |