diff options
Diffstat (limited to 'drivers/char/hw_random/pasemi-rng.c')
-rw-r--r-- | drivers/char/hw_random/pasemi-rng.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/char/hw_random/pasemi-rng.c b/drivers/char/hw_random/pasemi-rng.c index b213855bae68..261ba8f22b8b 100644 --- a/drivers/char/hw_random/pasemi-rng.c +++ b/drivers/char/hw_random/pasemi-rng.c | |||
@@ -140,8 +140,11 @@ static struct of_device_id rng_match[] = { | |||
140 | }; | 140 | }; |
141 | 141 | ||
142 | static struct of_platform_driver rng_driver = { | 142 | static struct of_platform_driver rng_driver = { |
143 | .name = "pasemi-rng", | 143 | .driver = { |
144 | .match_table = rng_match, | 144 | .name = "pasemi-rng", |
145 | .owner = THIS_MODULE, | ||
146 | .of_match_table = rng_match, | ||
147 | }, | ||
145 | .probe = rng_probe, | 148 | .probe = rng_probe, |
146 | .remove = rng_remove, | 149 | .remove = rng_remove, |
147 | }; | 150 | }; |