projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f778a12
)
OMAP: OMAPFB: add dummy release function for omapdss
author
Tomi Valkeinen
<tomi.valkeinen@nokia.com>
Thu, 7 Jan 2010 09:56:14 +0000
(11:56 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@nokia.com>
Mon, 11 Jan 2010 11:33:09 +0000
(13:33 +0200)
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>
drivers/video/omap/omapfb_main.c
patch
|
blob
|
history
diff --git
a/drivers/video/omap/omapfb_main.c
b/drivers/video/omap/omapfb_main.c
index
f74aec9
..
2c4f470
100644
(file)
--- 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[] = {
{ 1 << OMAPFB_COLOR_YUY422, "YUY422", },
};
+static void omapdss_release(struct device *dev)
+{
+}
+
/* dummy device for clocks */
static struct platform_device omapdss_device = {
.name = "omapdss",
.id = -1,
+ .dev = {
+ .release = omapdss_release,
+ },
};
/*