lkml.org 
[lkml]   [2002]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[bk patch] Make cardbus compile in -pre4

I broke cardbus compile in -pre4 on accident. Sorry about that...

(I don't have a public repository yet, so there's no place to pull form)

diffstat results:
drivers/pcmcia/cardbus.c | 3 +--
1 files changed, 1 insertion, 2 deletions
ChangeSet
1.231 02/02/08 18:22:27 mochel@segfault.osdlab.org +1 -0
Doh!
struct device has no ->sysdata
and ->device should be ->dev


drivers/pcmcia/cardbus.c
1.7 02/02/08 18:22:27 mochel@segfault.osdlab.org +1 -2
Doh!
struct device has no ->sysdata
and ->device should be ->dev



diff -Nru a/drivers/pcmcia/cardbus.c b/drivers/pcmcia/cardbus.c
--- a/drivers/pcmcia/cardbus.c Fri Feb 8 18:23:08 2002
+++ b/drivers/pcmcia/cardbus.c Fri Feb 8 18:23:08 2002
@@ -279,8 +279,7 @@
pci_readw(dev, PCI_DEVICE_ID, &dev->device);
dev->hdr_type = hdr & 0x7f;

- dev->dev.parent = bus->device;
- dev->dev.sysdata = bus->sysdata;
+ dev->dev.parent = bus->dev;
strcpy(dev->dev.name, dev->name);
strcpy(dev->dev.bus_id, dev->slot_name);
device_register(&dev->dev);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site