[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1319547822-23394-1-git-send-email-w.sang@pengutronix.de>
Date: Tue, 25 Oct 2011 15:03:42 +0200
From: Wolfram Sang <w.sang@...gutronix.de>
To: linux-kernel@...r.kernel.org
Cc: Greg KH <gregkh@...e.de>, Grant Likely <grant.likely@...retlab.ca>,
Wolfram Sang <w.sang@...gutronix.de>
Subject: [PATCH] lib: devres: add annotations for #endif
While working on devres, I found those make navigating the code a tad
easier.
Signed-off-by: Wolfram Sang <w.sang@...gutronix.de>
Acked-by: Grant Likely <grant.likely@...retlab.ca>
---
Ack from Grant given personally here in Prague.
lib/devres.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/devres.c b/lib/devres.c
index 7c0e953..78777ae 100644
--- a/lib/devres.c
+++ b/lib/devres.c
@@ -348,5 +348,5 @@ void pcim_iounmap_regions(struct pci_dev *pdev, u16 mask)
}
}
EXPORT_SYMBOL(pcim_iounmap_regions);
-#endif
-#endif
+#endif /* CONFIG_PCI */
+#endif /* CONFIG_HAS_IOPORT */
--
1.7.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists