fbdev: sh_mobile_hdmi: framebuffer notifiers have to be registered
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 7 Jan 2011 11:57:59 +0000 (11:57 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 11 Jan 2011 03:07:52 +0000 (12:07 +0900)
commiteb0778bd3c1d4d29ffb7e13739463855d92965df
tree008c10d65e88932a2625d672a476a7d0f8c85cc4
parentc7321d6f88e1f962d605923a93f9c255e4d0b8c9
fbdev: sh_mobile_hdmi: framebuffer notifiers have to be registered

A previous patch added a framebuffer notifier to sh_mobile_hdmi.c,
but did not register it with the framebuffer core. This patch adds
such a registration and moves the notifier block into dynamically
allocated per-device private data.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/sh_mobile_hdmi.c