hwmon: (emc6w201) Do not declare enum variable
authorGuenter Roeck <linux@roeck-us.net>
Fri, 6 Sep 2013 12:05:43 +0000 (14:05 +0200)
committerJean Delvare <khali@endymion.delvare>
Fri, 6 Sep 2013 12:05:43 +0000 (14:05 +0200)
commit94e44413cdda7b1b838a4c508a4eca0cdd5e7a18
tree46b83d252d319583f837dc05d93300a04c5d4792
parentf85b520510ed8b805b21b98dcedaf896caa0dae7
hwmon: (emc6w201) Do not declare enum variable

Fix the following smatch warning:

emc6w201.c:52:26: warning: symbol 'subfeature' was not declared.
Should it be static?

'enum { } subtype' declares an enum as (global) variable which we don't want.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/emc6w201.c