1 --- linux-2.6.2-rc3/drivers/char/moxa.c 2003-10-09 10:02:39.000000000 +0200
2 +++ linux-m68k-2.6.2-rc3/drivers/char/moxa.c 2004-01-10 04:25:26.000000000 +0100
4 #include <linux/tty_driver.h>
5 #include <linux/delay.h>
7 +#include <linux/init.h>
9 #include <asm/system.h>
13 static int __init moxa_init(void)
15 - int i, n, numBoards;
19 printk(KERN_INFO "MOXA Intellio family driver version %s\n", MOXA_VERSION);
23 struct pci_dev *p = NULL;
24 - n = (sizeof(moxa_pcibrds) / sizeof(moxa_pcibrds[0])) - 1;
25 + int n = (sizeof(moxa_pcibrds) / sizeof(moxa_pcibrds[0])) - 1;
28 while ((p = pci_find_device(moxa_pcibrds[i].vendor, moxa_pcibrds[i].device, p))!=NULL)
29 --- linux-2.6.2-rc3/drivers/char/mxser.c 2003-10-09 10:02:40.000000000 +0200
30 +++ linux-m68k-2.6.2-rc3/drivers/char/mxser.c 2004-01-10 04:26:02.000000000 +0100
33 #include <linux/smp_lock.h>
34 #include <linux/pci.h>
35 +#include <linux/init.h>
37 #include <asm/system.h>
40 static int __init mxser_module_init(void)
44 struct mxser_hwconf hwconf;
46 mxvar_sdriver = alloc_tty_driver(MXSER_PORTS + 1);
50 struct pci_dev *pdev = NULL;
52 - n = (sizeof(mxser_pcibrds) / sizeof(mxser_pcibrds[0])) - 1;
54 + int n = (sizeof(mxser_pcibrds) / sizeof(mxser_pcibrds[0])) - 1;
56 for (b = 0; b < n; b++) {
57 while ((pdev = pci_find_device(mxser_pcibrds[b].vendor, mxser_pcibrds[b].device, pdev)))