diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/efifb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/efifb.c b/drivers/video/efifb.c index 69c49dfce9cf..784139aed079 100644 --- a/drivers/video/efifb.c +++ b/drivers/video/efifb.c | |||
@@ -541,7 +541,7 @@ static int __init efifb_init(void) | |||
541 | */ | 541 | */ |
542 | ret = platform_driver_probe(&efifb_driver, efifb_probe); | 542 | ret = platform_driver_probe(&efifb_driver, efifb_probe); |
543 | if (ret) { | 543 | if (ret) { |
544 | platform_device_unregister(&efifb_driver); | 544 | platform_device_unregister(&efifb_device); |
545 | return ret; | 545 | return ret; |
546 | } | 546 | } |
547 | 547 | ||