diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2010-11-19 16:58:46 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-24 02:02:51 -0500 |
commit | b6c30ca6136c6c6900a086b6b843f738a588a2f3 (patch) | |
tree | f8f405758c94f330393cff45d679d48f1132c229 /drivers/video/sis/init301.h | |
parent | e7d828ab91c95e9fdc85f5167f236a8c85fb2445 (diff) |
sisfb: delete redudant #define SIS_LINUX_KERNEL
It's not needed anymore with SIS_XORG_XF86 gone.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/sis/init301.h')
-rw-r--r-- | drivers/video/sis/init301.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/video/sis/init301.h b/drivers/video/sis/init301.h index c379dc7a9973..31e24ae6c6e6 100644 --- a/drivers/video/sis/init301.h +++ b/drivers/video/sis/init301.h | |||
@@ -56,7 +56,6 @@ | |||
56 | #include "osdef.h" | 56 | #include "osdef.h" |
57 | #include "initdef.h" | 57 | #include "initdef.h" |
58 | 58 | ||
59 | #ifdef SIS_LINUX_KERNEL | ||
60 | #include "vgatypes.h" | 59 | #include "vgatypes.h" |
61 | #include "vstruct.h" | 60 | #include "vstruct.h" |
62 | #ifdef SIS_CP | 61 | #ifdef SIS_CP |
@@ -67,7 +66,6 @@ | |||
67 | #include <linux/fb.h> | 66 | #include <linux/fb.h> |
68 | #include "sis.h" | 67 | #include "sis.h" |
69 | #include <video/sisfb.h> | 68 | #include <video/sisfb.h> |
70 | #endif | ||
71 | 69 | ||
72 | static const unsigned char SiS_YPbPrTable[3][64] = { | 70 | static const unsigned char SiS_YPbPrTable[3][64] = { |
73 | { | 71 | { |
@@ -351,9 +349,6 @@ static unsigned char SiS300_TrumpionData[14][80] = { | |||
351 | #endif | 349 | #endif |
352 | 350 | ||
353 | void SiS_UnLockCRT2(struct SiS_Private *SiS_Pr); | 351 | void SiS_UnLockCRT2(struct SiS_Private *SiS_Pr); |
354 | #ifndef SIS_LINUX_KERNEL | ||
355 | void SiS_LockCRT2(struct SiS_Private *SiS_Pr); | ||
356 | #endif | ||
357 | void SiS_EnableCRT2(struct SiS_Private *SiS_Pr); | 352 | void SiS_EnableCRT2(struct SiS_Private *SiS_Pr); |
358 | unsigned short SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex); | 353 | unsigned short SiS_GetRatePtr(struct SiS_Private *SiS_Pr, unsigned short ModeNo, unsigned short ModeIdIndex); |
359 | void SiS_WaitRetrace1(struct SiS_Private *SiS_Pr); | 354 | void SiS_WaitRetrace1(struct SiS_Private *SiS_Pr); |
@@ -370,9 +365,6 @@ unsigned short SiS_GetVCLK2Ptr(struct SiS_Private *SiS_Pr, unsigned short ModeNo | |||
370 | unsigned short RefreshRateTableIndex); | 365 | unsigned short RefreshRateTableIndex); |
371 | unsigned short SiS_GetResInfo(struct SiS_Private *SiS_Pr,unsigned short ModeNo,unsigned short ModeIdIndex); | 366 | unsigned short SiS_GetResInfo(struct SiS_Private *SiS_Pr,unsigned short ModeNo,unsigned short ModeIdIndex); |
372 | void SiS_DisableBridge(struct SiS_Private *SiS_Pr); | 367 | void SiS_DisableBridge(struct SiS_Private *SiS_Pr); |
373 | #ifndef SIS_LINUX_KERNEL | ||
374 | void SiS_EnableBridge(struct SiS_Private *SiS_Pr); | ||
375 | #endif | ||
376 | bool SiS_SetCRT2Group(struct SiS_Private *SiS_Pr, unsigned short ModeNo); | 368 | bool SiS_SetCRT2Group(struct SiS_Private *SiS_Pr, unsigned short ModeNo); |
377 | void SiS_SiS30xBLOn(struct SiS_Private *SiS_Pr); | 369 | void SiS_SiS30xBLOn(struct SiS_Private *SiS_Pr); |
378 | void SiS_SiS30xBLOff(struct SiS_Private *SiS_Pr); | 370 | void SiS_SiS30xBLOff(struct SiS_Private *SiS_Pr); |
@@ -381,10 +373,6 @@ void SiS_SetCH700x(struct SiS_Private *SiS_Pr, unsigned short reg, unsigned cha | |||
381 | unsigned short SiS_GetCH700x(struct SiS_Private *SiS_Pr, unsigned short tempax); | 373 | unsigned short SiS_GetCH700x(struct SiS_Private *SiS_Pr, unsigned short tempax); |
382 | void SiS_SetCH701x(struct SiS_Private *SiS_Pr, unsigned short reg, unsigned char val); | 374 | void SiS_SetCH701x(struct SiS_Private *SiS_Pr, unsigned short reg, unsigned char val); |
383 | unsigned short SiS_GetCH701x(struct SiS_Private *SiS_Pr, unsigned short tempax); | 375 | unsigned short SiS_GetCH701x(struct SiS_Private *SiS_Pr, unsigned short tempax); |
384 | #ifndef SIS_LINUX_KERNEL | ||
385 | void SiS_SetCH70xx(struct SiS_Private *SiS_Pr, unsigned short reg, unsigned char val); | ||
386 | unsigned short SiS_GetCH70xx(struct SiS_Private *SiS_Pr, unsigned short tempax); | ||
387 | #endif | ||
388 | void SiS_SetCH70xxANDOR(struct SiS_Private *SiS_Pr, unsigned short reg, | 376 | void SiS_SetCH70xxANDOR(struct SiS_Private *SiS_Pr, unsigned short reg, |
389 | unsigned char orval,unsigned short andval); | 377 | unsigned char orval,unsigned short andval); |
390 | #ifdef SIS315H | 378 | #ifdef SIS315H |
@@ -473,10 +461,8 @@ extern void SiS_GetFIFOThresholdIndex300(struct SiS_Private *SiS_Pr, unsigned s | |||
473 | unsigned short *tempcl); | 461 | unsigned short *tempcl); |
474 | extern unsigned short SiS_GetFIFOThresholdB300(unsigned short tempbx, unsigned short tempcl); | 462 | extern unsigned short SiS_GetFIFOThresholdB300(unsigned short tempbx, unsigned short tempcl); |
475 | extern unsigned short SiS_GetLatencyFactor630(struct SiS_Private *SiS_Pr, unsigned short index); | 463 | extern unsigned short SiS_GetLatencyFactor630(struct SiS_Private *SiS_Pr, unsigned short index); |
476 | #ifdef SIS_LINUX_KERNEL | ||
477 | extern unsigned int sisfb_read_nbridge_pci_dword(struct SiS_Private *SiS_Pr, int reg); | 464 | extern unsigned int sisfb_read_nbridge_pci_dword(struct SiS_Private *SiS_Pr, int reg); |
478 | extern unsigned int sisfb_read_lpc_pci_dword(struct SiS_Private *SiS_Pr, int reg); | 465 | extern unsigned int sisfb_read_lpc_pci_dword(struct SiS_Private *SiS_Pr, int reg); |
479 | #endif | 466 | #endif |
480 | #endif | ||
481 | 467 | ||
482 | #endif | 468 | #endif |