From db855aca8c8a9931994d029cb7080ea6ae2ec4c0 Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Fri, 2 Feb 2018 04:24:44 -0600
Subject: module-basics: fix wrapping

Wrap lines that are too long for the slide.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
---
 kernel-devel/module-basics/pres_module-basics_en.tex | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'kernel-devel/module-basics/pres_module-basics_en.tex')

diff --git a/kernel-devel/module-basics/pres_module-basics_en.tex b/kernel-devel/module-basics/pres_module-basics_en.tex
index 9f3c8c4..9827d3f 100644
--- a/kernel-devel/module-basics/pres_module-basics_en.tex
+++ b/kernel-devel/module-basics/pres_module-basics_en.tex
@@ -209,9 +209,10 @@ module_exit(vain_pci_exit);
 \begin{tiny}
 \begin{lstlisting}[frame=trBL]
 |static struct pci_device_id vain_pci_ids[] = {
-        {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 */ }
 };|
 \end{lstlisting}
 \end{tiny}
@@ -416,7 +417,8 @@ static void vain_plat_exit(void)
 
         res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 
-        mem = request_mem_region(res->start, resource_size(res), pdev->name);
+        mem = request_mem_region(res->start, resource_size(res),
+                                 pdev->name);
 
         info->base = ioremap(res->start, resource_size(res));
 
-- 
cgit v1.2.3

