summaryrefslogtreecommitdiff
path: root/lib/devres.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2011-10-25 15:03:42 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-15 16:07:38 -0800
commit571806a9f70fc4a4c575ab796555dfb401c2dfc1 (patch)
tree5e154a9d6060c09915e470c35921d8edd3a4981e /lib/devres.c
parent1ea6b8f48918282bdca0b32a34095504ee65bab5 (diff)
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@pengutronix.de> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/devres.c')
-rw-r--r--lib/devres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/devres.c b/lib/devres.c
index 7c0e953a748..78777aea5b3 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 */