git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
usb
/
misc
/
sisusbvga
/
sisusb_init.c
diff --git
a/drivers/usb/misc/sisusbvga/sisusb_init.c
b/drivers/usb/misc/sisusbvga/sisusb_init.c
index
044fa44
..
9b30f89
100644
(file)
--- a/
drivers/usb/misc/sisusbvga/sisusb_init.c
+++ b/
drivers/usb/misc/sisusbvga/sisusb_init.c
@@
-36,7
+36,6
@@
*
*/
*
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
@@
-74,6
+73,7
@@
SiSUSB_InitPtr(struct SiS_Private *SiS_Pr)
/* HELPER: Get ModeID */
/*********************************************/
/* HELPER: Get ModeID */
/*********************************************/
+#if 0
unsigned short
SiSUSB_GetModeID(int HDisplay, int VDisplay, int Depth)
{
unsigned short
SiSUSB_GetModeID(int HDisplay, int VDisplay, int Depth)
{
@@
-157,6
+157,7
@@
SiSUSB_GetModeID(int HDisplay, int VDisplay, int Depth)
return ModeIndex;
}
return ModeIndex;
}
+#endif /* 0 */
/*********************************************/
/* HELPER: SetReg, GetReg */
/*********************************************/
/* HELPER: SetReg, GetReg */
@@
-233,7
+234,7
@@
SiS_DisplayOn(struct SiS_Private *SiS_Pr)
/* HELPER: Init Port Addresses */
/*********************************************/
/* HELPER: Init Port Addresses */
/*********************************************/
-void
+
static
void
SiSUSBRegInit(struct SiS_Private *SiS_Pr, unsigned long BaseAddr)
{
SiS_Pr->SiS_P3c4 = BaseAddr + 0x14;
SiSUSBRegInit(struct SiS_Private *SiS_Pr, unsigned long BaseAddr)
{
SiS_Pr->SiS_P3c4 = BaseAddr + 0x14;