diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-01-11 14:33:40 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-24 14:31:27 +0200 |
commit | a269950405ab17ce3a604ddcd939709a4a7a747c (patch) | |
tree | 612c0cdda13f1703f6b9c5c0c5431b6db1f63ab0 /drivers/video/omap2/dss/core.c | |
parent | 96adceceedefff9b849d25ff582bc6f516903994 (diff) | |
download | op-kernel-dev-a269950405ab17ce3a604ddcd939709a4a7a747c.zip op-kernel-dev-a269950405ab17ce3a604ddcd939709a4a7a747c.tar.gz |
OMAP: DSS2: move get_recommended_bpp()
Move get_recommended_bpp() from omap_dss_device to omap_dss_driver.
This is part of a larger patch-set, which moves the control from omapdss
driver to the display driver.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers/video/omap2/dss/core.c')
-rw-r--r-- | drivers/video/omap2/dss/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/core.c b/drivers/video/omap2/dss/core.c index 2e6ce83..7ebe50b 100644 --- a/drivers/video/omap2/dss/core.c +++ b/drivers/video/omap2/dss/core.c @@ -814,6 +814,9 @@ int omap_dss_register_driver(struct omap_dss_driver *dssdriver) if (dssdriver->get_resolution == NULL) dssdriver->get_resolution = omapdss_default_get_resolution; + if (dssdriver->get_recommended_bpp == NULL) + dssdriver->get_recommended_bpp = + omapdss_default_get_recommended_bpp; return driver_register(&dssdriver->driver); } |