fix copy and paste errors in ne2k.c
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 18 Apr 2011 02:26:56 +0000 (02:26 +0000)
committerStefan Reinauer <stepan@openbios.org>
Mon, 18 Apr 2011 02:26:56 +0000 (02:26 +0000)
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/lib/ne2k.c

index abc97082be3abb78610bb3e9b83ebd2d614441dd..180ac2114bf163afc2ad24614605dd11fa9f444a 100644 (file)
@@ -444,8 +444,7 @@ static void read_resources(struct device *dev)
        return;
 }
 
-
-static struct device_operations si_sata_ops  = {
+static struct device_operations ne2k_ops  = {
        .read_resources   = read_resources,
        .set_resources    = pci_dev_set_resources,
        .enable_resources = pci_dev_enable_resources,
@@ -453,7 +452,7 @@ static struct device_operations si_sata_ops  = {
        .scan_bus         = 0,
 };
 
-static const struct pci_driver si_sata_driver __pci_driver = {
+static const struct pci_driver ne2k_driver __pci_driver = {
         .ops    = &si_sata_ops,
         .vendor = 0x10ec,
         .device = 0x8029,