path: root/drivers
diff options
authorRobert Morell <>2011-06-28 15:55:27 -0700
committerDan Willemsen <>2011-11-30 21:47:37 -0800
commit3efa5c944ee6bffbc0527b4a8b2330e0c3e8aa68 (patch)
tree5c79bfbcdb17b323e1437158e893467434de95b7 /drivers
parent1e5b71891bbee9651410e15c4d5c643beae0771f (diff)
video: tegra: dc: Remove tegrafb dependency
The common dc.c code shouldn't include tegrafb.h; this breaks modularity. Fortunately, it was only being used to count windows, and there's a non-FB-specific version of that. Original-Change-Id: I81a082ce9cf6f7da32da0c2399344c017863c6ee Signed-off-by: Robert Morell <> Reviewed-on: http://git-master/r/39300 Reviewed-by: Varun Colbert <> Tested-by: Varun Colbert <> Rebase-Id: Rf9ef44ad4e17af87126f017b014915a7b9ab8df2
Diffstat (limited to 'drivers')
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index 85297d46b567..b6844f5acab2 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -656,7 +656,7 @@ static unsigned int tegra_dc_find_max_bandwidth(struct tegra_dc_win *wins[],
static unsigned long tegra_dc_get_emc_rate(struct tegra_dc_win *wins[], int n)
int i;
- unsigned int bw[TEGRA_FB_FLIP_N_WINDOWS];
+ unsigned int bw[DC_N_WINDOWS];
struct tegra_dc_win *w;
struct tegra_dc *dc;
unsigned int max;