summaryrefslogtreecommitdiffstats
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-16 01:07:38 +0100
commit571806a9f70fc4a4c575ab796555dfb401c2dfc1 (patch)
tree5e154a9d6060c09915e470c35921d8edd3a4981e /lib/devres.c
parentLinux 3.2-rc1 (diff)
downloadlinux-571806a9f70fc4a4c575ab796555dfb401c2dfc1.tar.xz
linux-571806a9f70fc4a4c575ab796555dfb401c2dfc1.zip
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 7c0e953a7486..78777aea5b34 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 */