aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-01-07 04:56:14 -0500
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-01-11 06:33:09 -0500
commitb64a5a1200e7ac91ac0dff71b0cfbc3ae19de944 (patch)
tree8de9520d7137b0b197b31a9c41af1ed8fdb4963c /drivers/video
parentf778a12dd33200513596a0d4d3ba4d5f09e79c09 (diff)
OMAP: OMAPFB: add dummy release function for omapdss
This should fix: WARNING: at drivers/base/core.c:131 device_release+0x68/0x7c() Device 'omapdss' does not have a release() function, it is broken and must be fixed. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/omap/omapfb_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c
index f74aec91aee0..2c4f470fa086 100644
--- a/drivers/video/omap/omapfb_main.c
+++ b/drivers/video/omap/omapfb_main.c
@@ -83,10 +83,17 @@ static struct caps_table_struct color_caps[] = {
83 { 1 << OMAPFB_COLOR_YUY422, "YUY422", }, 83 { 1 << OMAPFB_COLOR_YUY422, "YUY422", },
84}; 84};
85 85
86static void omapdss_release(struct device *dev)
87{
88}
89
86/* dummy device for clocks */ 90/* dummy device for clocks */
87static struct platform_device omapdss_device = { 91static struct platform_device omapdss_device = {
88 .name = "omapdss", 92 .name = "omapdss",
89 .id = -1, 93 .id = -1,
94 .dev = {
95 .release = omapdss_release,
96 },
90}; 97};
91 98
92/* 99/*