summaryrefslogtreecommitdiff
path: root/src/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net')
-rw-r--r--src/drivers/net/ne2k.c6
-rw-r--r--src/drivers/net/r8168.c16
2 files changed, 11 insertions, 11 deletions
diff --git a/src/drivers/net/ne2k.c b/src/drivers/net/ne2k.c
index ed56006ec4..bec1d78fc2 100644
--- a/src/drivers/net/ne2k.c
+++ b/src/drivers/net/ne2k.c
@@ -450,9 +450,9 @@ static struct device_operations ne2k_ops = {
};
static const struct pci_driver ne2k_driver __pci_driver = {
- .ops = &ne2k_ops,
- .vendor = 0x10ec,
- .device = 0x8029,
+ .ops = &ne2k_ops,
+ .vendor = 0x10ec,
+ .device = 0x8029,
};
#endif /* __PRE_RAM__ */
diff --git a/src/drivers/net/r8168.c b/src/drivers/net/r8168.c
index f58a7350c5..3727ccdd0f 100644
--- a/src/drivers/net/r8168.c
+++ b/src/drivers/net/r8168.c
@@ -230,15 +230,15 @@ static void r8168_init(struct device *dev)
}
static struct device_operations r8168_ops = {
- .read_resources = pci_dev_read_resources,
- .set_resources = pci_dev_set_resources,
- .enable_resources = pci_dev_enable_resources,
- .init = r8168_init,
- .scan_bus = 0,
+ .read_resources = pci_dev_read_resources,
+ .set_resources = pci_dev_set_resources,
+ .enable_resources = pci_dev_enable_resources,
+ .init = r8168_init,
+ .scan_bus = 0,
};
static const struct pci_driver r8168_driver __pci_driver = {
- .ops = &r8168_ops,
- .vendor = 0x10ec,
- .device = 0x8168,
+ .ops = &r8168_ops,
+ .vendor = 0x10ec,
+ .device = 0x8168,
};