Commit 46da222b authored by Joonyoung Shim's avatar Joonyoung Shim Committed by Inki Dae

drm/exynos: remove unused codes in hdmi and mixer

Some members in struct mixer_context aren't used and the define
HDMI_OVERLAY_NUMBER is unused in hdmi driver, remove them.
Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent f9309d1b
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
#include "exynos_hdmi.h" #include "exynos_hdmi.h"
#define HDMI_OVERLAY_NUMBER 3
#define MAX_WIDTH 1920 #define MAX_WIDTH 1920
#define MAX_HEIGHT 1080 #define MAX_HEIGHT 1080
#define get_hdmi_context(dev) platform_get_drvdata(to_platform_device(dev)) #define get_hdmi_context(dev) platform_get_drvdata(to_platform_device(dev))
......
...@@ -75,13 +75,10 @@ struct mixer_resources { ...@@ -75,13 +75,10 @@ struct mixer_resources {
}; };
struct mixer_context { struct mixer_context {
struct fb_videomode *default_timing;
unsigned int default_win; unsigned int default_win;
unsigned int default_bpp;
unsigned int irq; unsigned int irq;
int pipe; int pipe;
bool interlace; bool interlace;
bool vp_enabled;
struct mixer_resources mixer_res; struct mixer_resources mixer_res;
struct hdmi_win_data win_data[HDMI_OVERLAY_NUMBER]; struct hdmi_win_data win_data[HDMI_OVERLAY_NUMBER];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment