summaryrefslogtreecommitdiff
path: root/kernel-devel/module-basics/vain_pci/vain_pci_1.c
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-02-02 04:24:44 -0600
committerJohn Ogness <john.ogness@linutronix.de>2018-02-20 14:58:35 +0100
commitdb855aca8c8a9931994d029cb7080ea6ae2ec4c0 (patch)
treeeb263a89c7aaccfc0dc41a09269c1b244812d23d /kernel-devel/module-basics/vain_pci/vain_pci_1.c
parent4f6bfde86b5fd731beca11cf916f86aa31b1169f (diff)
module-basics: fix wrapping
Wrap lines that are too long for the slide. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'kernel-devel/module-basics/vain_pci/vain_pci_1.c')
-rw-r--r--kernel-devel/module-basics/vain_pci/vain_pci_1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel-devel/module-basics/vain_pci/vain_pci_1.c b/kernel-devel/module-basics/vain_pci/vain_pci_1.c
index d60b230..d920bb0 100644
--- a/kernel-devel/module-basics/vain_pci/vain_pci_1.c
+++ b/kernel-devel/module-basics/vain_pci/vain_pci_1.c
@@ -12,8 +12,9 @@ struct vain_pci_info {
};
static struct pci_device_id vain_pci_ids[] __devinitdata = {
- {PCI_VENDOR_ID_ILLEGAL_VENDOR, PCI_DEVICE_ID_ILLEGAL_VENDOR_DEVICE,
+ {PCI_VENDOR_ID_ILLEGAL_VENDOR,
+ PCI_DEVICE_ID_ILLEGAL_VENDOR_DEVICE,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
- {0, }
+ { /* end of table */ }
};
MODULE_DEVICE_TABLE(pci, vain_pci_ids);