From 261f842c1c3ce5e4ee151889f692a16856c400f3 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 18 Apr 2011 02:26:56 +0000 Subject: [PATCH] fix copy and paste errors in ne2k.c Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6512 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/lib/ne2k.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/ne2k.c b/src/lib/ne2k.c index abc97082be..180ac2114b 100644 --- a/src/lib/ne2k.c +++ b/src/lib/ne2k.c @@ -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,