From: Chen Gang Date: Thu, 2 Oct 2014 14:32:56 +0000 (+0800) Subject: drivers/net/irda/Kconfig: Let SH_IRDA depend on HAS_IOMEM X-Git-Tag: fixes-against-v3.18-rc2~144^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad2a2a6d7c4a59240dc67eb757e1986f3f1ef515;p=pandora-kernel.git drivers/net/irda/Kconfig: Let SH_IRDA depend on HAS_IOMEM SH_IRDA needs HAS_IOMEM, so depend on it. The related error(with allmodconfig under um): CC [M] drivers/net/irda/sh_irda.o drivers/net/irda/sh_irda.c: In function ‘sh_irda_probe’: drivers/net/irda/sh_irda.c:776:2: error: implicit declaration of function ‘ioremap_nocache’ [-Werror=implicit-function-declaration] self->membase = ioremap_nocache(res->start, resource_size(res)); ^ drivers/net/irda/sh_irda.c:776:16: warning: assignment makes pointer from integer without a cast [enabled by default] self->membase = ioremap_nocache(res->start, resource_size(res)); ^ drivers/net/irda/sh_irda.c:821:2: error: implicit declaration of function ‘iounmap’ [-Werror=implicit-function-declaration] iounmap(self->membase); ^ Signed-off-by: Chen Gang Signed-off-by: David S. Miller --- Reading git-diff-tree failed