diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2012-01-05 13:50:15 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-18 21:26:28 -0400 |
commit | a6bee4a5571d24b9ba7c98f6becc7c45312a537d (patch) | |
tree | 91ca88a17b2acb191c0ae2cb41c0133b9762cdec /drivers/hwmon/amc6821.c | |
parent | 2faaa9316cc5556bb3d7d0d91720820434c317ba (diff) |
hwmon: (amc6821) fix initialisation
fix checkpatch error:
ERROR: do not initialise statics to 0 or NULL
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/amc6821.c')
-rw-r--r-- | drivers/hwmon/amc6821.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/amc6821.c b/drivers/hwmon/amc6821.c index 89a6b9da0ec3..4a4bfef3d976 100644 --- a/drivers/hwmon/amc6821.c +++ b/drivers/hwmon/amc6821.c | |||
@@ -47,7 +47,7 @@ static const unsigned short normal_i2c[] = {0x18, 0x19, 0x1a, 0x2c, 0x2d, 0x2e, | |||
47 | * Insmod parameters | 47 | * Insmod parameters |
48 | */ | 48 | */ |
49 | 49 | ||
50 | static int pwminv = 0; /*Inverted PWM output. */ | 50 | static int pwminv; /*Inverted PWM output. */ |
51 | module_param(pwminv, int, S_IRUGO); | 51 | module_param(pwminv, int, S_IRUGO); |
52 | 52 | ||
53 | static int init = 1; /*Power-on initialization.*/ | 53 | static int init = 1; /*Power-on initialization.*/ |