diff options
author | Mike Rapoport <mike.rapoport@gmail.com> | 2015-09-30 05:24:56 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-30 10:26:20 (GMT) |
commit | 86b5f4ed3525645dac9fa8a5eedcd5af7118c591 (patch) | |
tree | c5824256fa273a79e58cf4ad006a7cf96ef043b1 | |
parent | 55a6cf5d4b211a8d1c13264ab1ed5fc7e09fdfdd (diff) | |
download | linux-86b5f4ed3525645dac9fa8a5eedcd5af7118c591.tar.xz |
staging: sm750fb: remove unused ddk750_initDVIDisp function
The ddk750_initDVIDisp function is never used and therefore it can be
removed.
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/sm750fb/ddk750_display.c | 33 | ||||
-rw-r--r-- | drivers/staging/sm750fb/ddk750_display.h | 1 |
2 files changed, 0 insertions, 34 deletions
diff --git a/drivers/staging/sm750fb/ddk750_display.c b/drivers/staging/sm750fb/ddk750_display.c index 8348113..24c1c82 100644 --- a/drivers/staging/sm750fb/ddk750_display.c +++ b/drivers/staging/sm750fb/ddk750_display.c @@ -250,36 +250,3 @@ void ddk750_setLogicalDispOut(disp_output_t output) if (output & DPMS_USAGE) ddk750_setDPMS((output & DPMS_MASK) >> DPMS_OFFSET); } - - -int ddk750_initDVIDisp(void) -{ - /* Initialize DVI. If the dviInit fail and the VendorID or the DeviceID are - not zeroed, then set the failure flag. If it is zeroe, it might mean - that the system is in Dual CRT Monitor configuration. */ - - /* De-skew enabled with default 111b value. - This will fix some artifacts problem in some mode on board 2.2. - Somehow this fix does not affect board 2.1. - */ - if ((dviInit(1, /* Select Rising Edge */ - 1, /* Select 24-bit bus */ - 0, /* Select Single Edge clock */ - 1, /* Enable HSync as is */ - 1, /* Enable VSync as is */ - 1, /* Enable De-skew */ - 7, /* Set the de-skew setting to maximum setup */ - 1, /* Enable continuous Sync */ - 1, /* Enable PLL Filter */ - 4 /* Use the recommended value for PLL Filter value */ - ) != 0) && (dviGetVendorID() != 0x0000) && (dviGetDeviceID() != 0x0000)) { - return (-1); - } - - /* TODO: Initialize other display component */ - - /* Success */ - return 0; - -} - diff --git a/drivers/staging/sm750fb/ddk750_display.h b/drivers/staging/sm750fb/ddk750_display.h index 39bdfad..3d2e8b4 100644 --- a/drivers/staging/sm750fb/ddk750_display.h +++ b/drivers/staging/sm750fb/ddk750_display.h @@ -100,6 +100,5 @@ typedef enum _disp_output_t { disp_output_t; void ddk750_setLogicalDispOut(disp_output_t); -int ddk750_initDVIDisp(void); #endif |