From 3efa5c944ee6bffbc0527b4a8b2330e0c3e8aa68 Mon Sep 17 00:00:00 2001 From: Robert Morell Date: Tue, 28 Jun 2011 15:55:27 -0700 Subject: 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 --- drivers/video/tegra/dc/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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; -- cgit v1.2.3