diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2010-08-14 21:09:02 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2010-08-14 21:09:02 +0200 |
commit | f279941863f0d39fa8285b84449b52b8286a254b (patch) | |
tree | b20832d72e2049de235423ce97d493e470c0ecb9 /drivers/hwmon | |
parent | 4bd2691d6ce37e04a965eede12dc05dd62d3a294 (diff) | |
download | op-kernel-dev-f279941863f0d39fa8285b84449b52b8286a254b.zip op-kernel-dev-f279941863f0d39fa8285b84449b52b8286a254b.tar.gz |
hwmon: (via-cputemp) Remove bogus "SHOW" global variable
The via-cputemp hwmon driver was probably intending "typedef enum {
... } SHOW;", but the "typedef" was missing creating a global variable
named "SHOW". There is absolutely no reason to have this in the
global namespace.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Acked-by: Harald Welte <HaraldWelte@viatech.com>
Cc: Juerg Haefliger <juergh@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/via-cputemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c index 7442cf7..ffb793a 100644 --- a/drivers/hwmon/via-cputemp.c +++ b/drivers/hwmon/via-cputemp.c @@ -39,7 +39,7 @@ #define DRVNAME "via_cputemp" -enum { SHOW_TEMP, SHOW_LABEL, SHOW_NAME } SHOW; +enum { SHOW_TEMP, SHOW_LABEL, SHOW_NAME }; /* * Functions declaration |