diff options
Diffstat (limited to 'drivers/hwmon/ultra45_env.c')
-rw-r--r-- | drivers/hwmon/ultra45_env.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/hwmon/ultra45_env.c b/drivers/hwmon/ultra45_env.c index 68e90abeba96..5da5942cf970 100644 --- a/drivers/hwmon/ultra45_env.c +++ b/drivers/hwmon/ultra45_env.c | |||
@@ -300,8 +300,11 @@ static const struct of_device_id env_match[] = { | |||
300 | MODULE_DEVICE_TABLE(of, env_match); | 300 | MODULE_DEVICE_TABLE(of, env_match); |
301 | 301 | ||
302 | static struct of_platform_driver env_driver = { | 302 | static struct of_platform_driver env_driver = { |
303 | .name = "ultra45_env", | 303 | .driver = { |
304 | .match_table = env_match, | 304 | .name = "ultra45_env", |
305 | .owner = THIS_MODULE, | ||
306 | .of_match_table = env_match, | ||
307 | }, | ||
305 | .probe = env_probe, | 308 | .probe = env_probe, |
306 | .remove = __devexit_p(env_remove), | 309 | .remove = __devexit_p(env_remove), |
307 | }; | 310 | }; |