summaryrefslogtreecommitdiff
path: root/src/drivers/net
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-07-23 20:00:04 -0600
committerMartin Roth <martinroth@google.com>2017-07-28 16:24:57 +0000
commitb9810a4cd6ec082eaab476540324ae927cae1b53 (patch)
tree65033127f948190bab1a613bc8a374f5734097f8 /src/drivers/net
parente5f2d4c44c3222cfad881fe24a65c1dc2cfa5cda (diff)
downloadcoreboot-b9810a4cd6ec082eaab476540324ae927cae1b53.tar.xz
src/drivers: Fix checkpatch warning: no spaces at the start of a line
This excludes files which are mostly spaces, which I felt should be handled separately. Change-Id: I33043a3090e2fc6e9d2fd81e8a5e46fb6cb0aa35 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/20731 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
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,
};