Skip to contentSkip to conversation

typo in driver

PATCH Russell King 1 participant 1 message Nov 1, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · Rusty Russell

[ Russell, looks like you touched it last... ]

diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .7594-2.5-bk-module-ppc.pre/drivers/ide/pci/sl82c105.c .7594-2.5-bk-module-ppc/drivers/ide/pci/sl82c105.c

drivers/ide/pci/sl82c105.c extern void ide_setup_pci_device(struct · line 290

Quoted 8 lines
drivers/ide/pci/sl82c105.c +1 -1
@@ -284,7 +284,7 @@ extern void ide_setup_pci_device(struct 
 
 static int __devinit sl82c105_init_one(struct pci_dev *dev, const struct pci_device_id *id)
 {
-	ide_pci_device_t *d = &slc82c105_chipsets[id->driver_data];
+	ide_pci_device_t *d = &sl82c105_chipsets[id->driver_data];
 	if (dev->device != d->device)
 		BUG();
 	ide_setup_pci_device(dev, d);

Don't bother with this small typo - its better that it doesn't build at the moment. The whole driver needs reworking since Martin's stuff got ripped out to put some errata fixes back into the driver.