diff options
| author | Geert Uytterhoeven <[email protected]> | 2011-10-30 12:47:24 +0000 |
|---|---|---|
| committer | Jean Delvare <[email protected]> | 2011-10-30 12:47:24 +0000 |
| commit | 9519282a02e74f0bf780eb371a3160824c23965a (patch) | |
| tree | 31e0e4975688fb3d790a8ed48477e2b0609eaefc /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | Merge git://github.com/rustyrussell/linux (diff) | |
| download | kernel-9519282a02e74f0bf780eb371a3160824c23965a.tar.gz kernel-9519282a02e74f0bf780eb371a3160824c23965a.zip | |
i2c: I2C_ELEKTOR should depend on HAS_IOPORT
On m68k, I get:
drivers/i2c/busses/i2c-elektor.c: In function ‘pcf_isa_init’:
drivers/i2c/busses/i2c-elektor.c:153: error: implicit declaration of function ‘ioport_map’
drivers/i2c/busses/i2c-elektor.c:153: warning: assignment makes pointer from integer without a cast
drivers/i2c/busses/i2c-elektor.c: In function ‘elektor_probe’:
drivers/i2c/busses/i2c-elektor.c:287: error: implicit declaration of function ‘ioport_unmap’
Since commit 82ed223c264def2b15ee4bec2e8c3048092ceb5f ("iomap: make IOPORT/PCI
mapping functions conditional"), ioport_map() is only available on platforms
that set HAS_IOPORT.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
