diff options
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r-- | drivers/video/omap2/dss/core.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index c35a248c5e35..58bd9c27369d 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c | |||
@@ -206,8 +206,7 @@ static int omap_dss_pm_notif(struct notifier_block *b, unsigned long v, void *d) | |||
206 | { | 206 | { |
207 | DSSDBG("pm notif %lu\n", v); | 207 | DSSDBG("pm notif %lu\n", v); |
208 | 208 | ||
209 | switch (v) | 209 | switch (v) { |
210 | { | ||
211 | case PM_SUSPEND_PREPARE: | 210 | case PM_SUSPEND_PREPARE: |
212 | DSSDBG("suspending displays\n"); | 211 | DSSDBG("suspending displays\n"); |
213 | return dss_suspend_all_devices(); | 212 | return dss_suspend_all_devices(); |
@@ -221,8 +220,7 @@ static int omap_dss_pm_notif(struct notifier_block *b, unsigned long v, void *d) | |||
221 | } | 220 | } |
222 | } | 221 | } |
223 | 222 | ||
224 | static struct notifier_block omap_dss_pm_notif_block = | 223 | static struct notifier_block omap_dss_pm_notif_block = { |
225 | { | ||
226 | .notifier_call = omap_dss_pm_notif, | 224 | .notifier_call = omap_dss_pm_notif, |
227 | }; | 225 | }; |
228 | 226 | ||