aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/drm.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-03-14 09:54:58 +0100
committerThierry Reding <treding@nvidia.com>2014-06-05 23:09:18 +0200
commit10288eea885bc32d2c856cd620aeeb83b5f3dd98 (patch)
treeba5d811fdd648895bda0790b5f219814869dec1b /drivers/gpu/drm/tegra/drm.h
parentdrm/tegra: dc - Rename INVERT_V to V_DIRECTION (diff)
downloadlinux-dev-10288eea885bc32d2c856cd620aeeb83b5f3dd98.tar.xz
linux-dev-10288eea885bc32d2c856cd620aeeb83b5f3dd98.zip
drm/tegra: dc - Reshuffle code to get rid of prototypes
The tegra_dc_format() and tegra_dc_setup_window() functions are only used internally by the display controller driver. Move them upwards in order to make them static and get rid of the function prototypes. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r--drivers/gpu/drm/tegra/drm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h
index 302bfee83f0a..ded44b29dc1d 100644
--- a/drivers/gpu/drm/tegra/drm.h
+++ b/drivers/gpu/drm/tegra/drm.h
@@ -164,9 +164,6 @@ struct tegra_dc_window {
};
/* from dc.c */
-unsigned int tegra_dc_format(uint32_t format, unsigned int *swap);
-int tegra_dc_setup_window(struct tegra_dc *dc, unsigned int index,
- const struct tegra_dc_window *window);
void tegra_dc_enable_vblank(struct tegra_dc *dc);
void tegra_dc_disable_vblank(struct tegra_dc *dc);
void tegra_dc_cancel_page_flip(struct drm_crtc *crtc, struct drm_file *file);