diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/gbefb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c index ca3355e430bf..933899dca33a 100644 --- a/drivers/video/gbefb.c +++ b/drivers/video/gbefb.c | |||
@@ -1143,8 +1143,10 @@ static int __devinit gbefb_probe(struct platform_device *p_dev) | |||
1143 | return -ENOMEM; | 1143 | return -ENOMEM; |
1144 | 1144 | ||
1145 | #ifndef MODULE | 1145 | #ifndef MODULE |
1146 | if (fb_get_options("gbefb", &options)) | 1146 | if (fb_get_options("gbefb", &options)) { |
1147 | return -ENODEV; | 1147 | ret = -ENODEV; |
1148 | goto out_release_framebuffer; | ||
1149 | } | ||
1148 | gbefb_setup(options); | 1150 | gbefb_setup(options); |
1149 | #endif | 1151 | #endif |
1150 | 1152 | ||