diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-12 04:18:45 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-12 04:18:45 +0200 |
commit | 19ad7ae47e4ce4eb2a583e437d653a96da7897ac (patch) | |
tree | 699fda69476d256aae62e44baf7f98495a353204 /drivers/char/i8k.c | |
parent | Merge branch 'block-2.6.24' of git://git.kernel.dk/data/git/linux-2.6-block (diff) | |
parent | drivers/firmware: const-ify DMI API and internals (diff) | |
download | linux-19ad7ae47e4ce4eb2a583e437d653a96da7897ac.tar.xz linux-19ad7ae47e4ce4eb2a583e437d653a96da7897ac.zip |
Merge branch 'dmi-const' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6
* 'dmi-const' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
drivers/firmware: const-ify DMI API and internals
Diffstat (limited to 'drivers/char/i8k.c')
-rw-r--r-- | drivers/char/i8k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/i8k.c b/drivers/char/i8k.c index 0289705967de..cd406416effd 100644 --- a/drivers/char/i8k.c +++ b/drivers/char/i8k.c @@ -98,9 +98,9 @@ struct smm_regs { unsigned int edi __attribute__ ((packed)); }; -static inline char *i8k_get_dmi_data(int field) +static inline const char *i8k_get_dmi_data(int field) { - char *dmi_data = dmi_get_system_info(field); + const char *dmi_data = dmi_get_system_info(field); return dmi_data && *dmi_data ? dmi_data : "?"; } |