diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-01-07 09:56:14 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-01-11 11:33:09 (GMT) |
commit | b64a5a1200e7ac91ac0dff71b0cfbc3ae19de944 (patch) | |
tree | 8de9520d7137b0b197b31a9c41af1ed8fdb4963c /drivers/video/omap | |
parent | f778a12dd33200513596a0d4d3ba4d5f09e79c09 (diff) | |
download | linux-fsl-qoriq-b64a5a1200e7ac91ac0dff71b0cfbc3ae19de944.tar.xz |
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/omap')
-rw-r--r-- | drivers/video/omap/omapfb_main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/omap/omapfb_main.c b/drivers/video/omap/omapfb_main.c index f74aec9..2c4f470 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[] = { { 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, + }, }; /* |