diff options
author | Andy Green <andy.green@linaro.org> | 2011-04-15 09:33:13 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-04-15 09:33:13 +0100 |
commit | 9267c263e8a9db36185f43ce0c9c5157947578ce (patch) | |
tree | 8fb51ec520cc0bbf1f0baf78add094587ba12166 | |
parent | f55481481e69304af52bcde4d50f8501c7a307ab (diff) |
PANDA only register hdmi if enabled in config
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | arch/arm/mach-omap2/board-omap4panda.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c index 375a5ec9716..0b35bebbdf2 100644 --- a/arch/arm/mach-omap2/board-omap4panda.c +++ b/arch/arm/mach-omap2/board-omap4panda.c @@ -753,7 +753,9 @@ static struct omap_dss_device omap4_panda_hdmi_device = { static struct omap_dss_device *omap4_panda_dss_devices[] = { &omap4_panda_dvi_device, +#ifdef CONFIG_OMAP4_DSS_HDMI &omap4_panda_hdmi_device, +#endif }; static struct omap_dss_board_info omap4_panda_dss_data = { |