summaryrefslogtreecommitdiffstats
path: root/lib/reciprocal_div.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-02-28 02:02:42 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-28 04:10:09 +0100
commit9ed8a30f3471347c1b763bd062fa78ae80f18eae (patch)
tree8fd99b7a24d1fb60f840320d3f7745be2f32fdba /lib/reciprocal_div.c
parentmm: use vm_unmapped_area() on parisc architecture (diff)
downloadlinux-9ed8a30f3471347c1b763bd062fa78ae80f18eae.tar.xz
linux-9ed8a30f3471347c1b763bd062fa78ae80f18eae.zip
lib/devres.c: fix misplaced #endif
A misplaced #endif causes link errors related to pcim_*() functions. This is because pcim_*() functions are related to CONFIG_PCI option, however these are not related to CONFIG_HAS_IOPORT option. Therefore, when CONFIG_PCI is enabled and CONFIG_HAS_IOPORT is not enabled, it makes link errors related to pcim_*() functions as below: drivers/ata/libata-sff.c:3233: undefined reference to `pcim_iomap_regions' drivers/ata/libata-sff.c:3238: undefined reference to `pcim_iomap_table' drivers/built-in.o: In function `ata_pci_sff_init_host': drivers/ata/libata-sff.c:2318: undefined reference to `pcim_iomap_regions' drivers/ata/libata-sff.c:2329: undefined reference to `pcim_iomap_table Signed-off-by: Jingoo Han <jg1.han@samsung.com> Cc: Greg KH <greg@kroah.com> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/reciprocal_div.c')
0 files changed, 0 insertions, 0 deletions