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
/
ide
/
pci
/
ns87415.c
diff --git
a/drivers/ide/pci/ns87415.c
b/drivers/ide/pci/ns87415.c
index
205a32f
..
8aaea4e
100644
(file)
--- a/
drivers/ide/pci/ns87415.c
+++ b/
drivers/ide/pci/ns87415.c
@@
-9,7
+9,6
@@
* Inspired by an earlier effort from David S. Miller <davem@redhat.com>
*/
* Inspired by an earlier effort from David S. Miller <davem@redhat.com>
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
@@
-195,7
+194,7
@@
static int ns87415_ide_dma_check (ide_drive_t *drive)
return __ide_dma_check(drive);
}
return __ide_dma_check(drive);
}
-static void __init init_hwif_ns87415 (ide_hwif_t *hwif)
+static void __
dev
init init_hwif_ns87415 (ide_hwif_t *hwif)
{
struct pci_dev *dev = hwif->pci_dev;
unsigned int ctrl, using_inta;
{
struct pci_dev *dev = hwif->pci_dev;
unsigned int ctrl, using_inta;
@@
-303,7
+302,7
@@
static struct pci_driver driver = {
.probe = ns87415_init_one,
};
.probe = ns87415_init_one,
};
-static int ns87415_ide_init(void)
+static int
__init
ns87415_ide_init(void)
{
return ide_pci_register_driver(&driver);
}
{
return ide_pci_register_driver(&driver);
}