public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lib: devres: Fix misplaced #endif
@ 2013-02-22  5:39 Jingoo Han
  2013-02-22 21:44 ` Andrew Morton
  2013-02-25  2:20 ` [PATCH V2] " Jingoo Han
  0 siblings, 2 replies; 4+ messages in thread
From: Jingoo Han @ 2013-02-22  5:39 UTC (permalink / raw)
  To: 'Andrew Morton'; +Cc: linux-kernel, 'Jingoo Han'

A misplaced #endif causes link errors related to pcim_*() functions.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 lib/devres.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/devres.c b/lib/devres.c
index 88ad759..8235331 100644
--- a/lib/devres.c
+++ b/lib/devres.c
@@ -227,6 +227,7 @@ void devm_ioport_unmap(struct device *dev, void __iomem *addr)
 			       devm_ioport_map_match, (void *)addr));
 }
 EXPORT_SYMBOL(devm_ioport_unmap);
+#endif /* CONFIG_HAS_IOPORT */
 
 #ifdef CONFIG_PCI
 /*
@@ -432,4 +433,3 @@ void pcim_iounmap_regions(struct pci_dev *pdev, int mask)
 }
 EXPORT_SYMBOL(pcim_iounmap_regions);
 #endif /* CONFIG_PCI */
-#endif /* CONFIG_HAS_IOPORT */
-- 
1.7.2.5



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-25  2:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22  5:39 [PATCH] lib: devres: Fix misplaced #endif Jingoo Han
2013-02-22 21:44 ` Andrew Morton
2013-02-25  2:13   ` Jingoo Han
2013-02-25  2:20 ` [PATCH V2] " Jingoo Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox