Sfoglia il codice sorgente

Char: mxser_new, ioaddresses are ulong

To not pass ulong address as int parameter, switch it to ulong.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jiri Slaby 17 anni fa
parent
commit
f31e683505
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      drivers/char/mxser_new.c

+ 1 - 1
drivers/char/mxser_new.c

@@ -320,7 +320,7 @@ static struct mxser_mon_ext mon_data_ext;
 static int mxser_set_baud_method[MXSER_PORTS + 1];
 static int mxser_set_baud_method[MXSER_PORTS + 1];
 
 
 #ifdef CONFIG_PCI
 #ifdef CONFIG_PCI
-static int __devinit CheckIsMoxaMust(int io)
+static int __devinit CheckIsMoxaMust(unsigned long io)
 {
 {
 	u8 oldmcr, hwid;
 	u8 oldmcr, hwid;
 	int i;
 	int i;