mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-04-16 18:57:38 +07:00
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>
This commit is contained in:
parent
f778a12dd3
commit
b64a5a1200
@ -83,10 +83,17 @@ static struct caps_table_struct color_caps[] = {
|
|||||||
{ 1 << OMAPFB_COLOR_YUY422, "YUY422", },
|
{ 1 << OMAPFB_COLOR_YUY422, "YUY422", },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static void omapdss_release(struct device *dev)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
/* dummy device for clocks */
|
/* dummy device for clocks */
|
||||||
static struct platform_device omapdss_device = {
|
static struct platform_device omapdss_device = {
|
||||||
.name = "omapdss",
|
.name = "omapdss",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
|
.dev = {
|
||||||
|
.release = omapdss_release,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user