diff options
author | Chen Gang <[email protected]> | 2014-10-02 22:32:56 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-10-03 15:52:04 -0700 |
commit | ad2a2a6d7c4a59240dc67eb757e1986f3f1ef515 (patch) | |
tree | fd96b33ccb5d3e0e34b6aa6912a2881d1e96d8fc /include/linux/fpga/fpga-mgr.h | |
parent | 65cb29a4f3c7b1c6c61179de870ab568e2129f7e (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions