summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVenkata(Muni) Anda <vanda@nvidia.com>2010-03-17 22:06:50 -0700
committerGary King <gking@nvidia.com>2010-03-22 17:47:53 -0800
commit44476f826f166461d10142935ef20b23c8c010c4 (patch)
tree0fa6badd6facde65befef02268bd442b5b8317c4 /drivers
parent873a30edbac4017af82525c1e2385d2b743f436e (diff)
tegra fb: Cleanup partially removed fb disable code.
An ioctl to disable fb used to exist and called from the nvrm daemon code. This was partially removed sometime back and there are still traces of that code causing some confusion which is cleaned up by this commit. ioctl define is left as-is so maintain compatibility to user mode code. Change-Id: I3f792d6be075a8754ea448d588e484afc67bd8ba Reviewed-on: http://git-master/r/878 Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com> Tested-by: Venkata (Muni) Anda <vanda@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/tegra-fb.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/video/tegra-fb.c b/drivers/video/tegra-fb.c
index 9092c5f90412..24a90213ecdc 100644
--- a/drivers/video/tegra-fb.c
+++ b/drivers/video/tegra-fb.c
@@ -74,7 +74,6 @@ static struct fb_info tegra_fb_info = {
},
};
-static unsigned long s_fb_disable = 0;
unsigned long s_fb_addr;
unsigned long s_fb_size;
unsigned long s_fb_width;
@@ -82,12 +81,6 @@ unsigned long s_fb_height;
int s_fb_Bpp;
NvRmMemHandle s_fb_hMem;
-int tegra_fb_control(void *in, void *out);
-
-#define DISPLAY_BASE (0x54200000)
-#define REGW( reg, val ) \
- *((u32 *)s_fb_regs + (reg)) = (val)
-
/* palette attary used by the fbcon */
u32 pseudo_palette[16];
@@ -196,12 +189,6 @@ int tegra_fb_sync(struct fb_info *info)
return 0;
}
-int tegra_fb_control(void *in, void *out)
-{
- s_fb_disable = 1;
- return 0;
-}
-
static int tegra_plat_probe( struct platform_device *d )
{
NvError e;