@@ -30,7 +30,6 @@
#include <linux/platform_data/omapdss.h>
#include "omap_hwmod.h"
#include "omap_device.h"
-#include "omap-pm.h"
#include "common.h"
#include "soc.h"
@@ -72,11 +71,6 @@ static struct platform_device omap_display_device = {
},
};
-static int omap_dss_set_min_bus_tput(struct device *dev, unsigned long tput)
-{
- return omap_pm_set_min_bus_tput(dev, OCP_INITIATOR_AGENT, tput);
-}
-
static enum omapdss_version __init omap_display_get_version(void)
{
if (cpu_is_omap24xx())
@@ -286,9 +280,7 @@ int __init omapdss_init_of(void)
struct device_node *node;
struct platform_device *pdev;
- static struct omap_dss_board_info board_data = {
- .set_min_bus_tput = omap_dss_set_min_bus_tput,
- };
+ static struct omap_dss_board_info board_data = { 0 };
/* only create dss helper devices if dss is enabled in the .dts */
The omapdss set_min_bus_tput platform data callback is unused. Remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- arch/arm/mach-omap2/display.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)