Internally, hilkbd uses "unsigned long" I/O addresses everywhere.
This works fine as:
- On PA-RISC, hilkbd uses the gsc_{read,write}b() I/O accessors, which
take "unsigned long" addresses,
- On m68k, hilkbd uses {read,write}b(), which are currently mapped to
{in,out}_8(), and convert the passed addresses to pointers
internally.
However, the asm-generic version of {read,write}b() does not perform
such conversions, and requires passing pointers instead. Hence add
casts to prepare for switching m68k to the asm-generic version.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
||
|---|---|---|
| .. | ||
| adc-keys.c | ||
| adp5520-keys.c | ||
| adp5588-keys.c | ||
| adp5589-keys.c | ||
| amikbd.c | ||
| atakbd.c | ||
| atkbd.c | ||
| bcm-keypad.c | ||
| cap11xx.c | ||
| clps711x-keypad.c | ||
| cros_ec_keyb.c | ||
| davinci_keyscan.c | ||
| dlink-dir685-touchkeys.c | ||
| ep93xx_keypad.c | ||
| goldfish_events.c | ||
| gpio_keys.c | ||
| gpio_keys_polled.c | ||
| hil_kbd.c | ||
| hilkbd.c | ||
| hpps2atkbd.h | ||
| imx_keypad.c | ||
| ipaq-micro-keys.c | ||
| jornada680_kbd.c | ||
| jornada720_kbd.c | ||
| Kconfig | ||
| lkkbd.c | ||
| lm8323.c | ||
| lm8333.c | ||
| locomokbd.c | ||
| lpc32xx-keys.c | ||
| Makefile | ||
| maple_keyb.c | ||
| matrix_keypad.c | ||
| max7359_keypad.c | ||
| mcs_touchkey.c | ||
| mpr121_touchkey.c | ||
| mtk-pmic-keys.c | ||
| newtonkbd.c | ||
| nomadik-ske-keypad.c | ||
| nspire-keypad.c | ||
| omap-keypad.c | ||
| omap4-keypad.c | ||
| opencores-kbd.c | ||
| pmic8xxx-keypad.c | ||
| pxa27x_keypad.c | ||
| pxa930_rotary.c | ||
| qt1070.c | ||
| qt2160.c | ||
| samsung-keypad.c | ||
| sh_keysc.c | ||
| snvs_pwrkey.c | ||
| spear-keyboard.c | ||
| st-keyscan.c | ||
| stmpe-keypad.c | ||
| stowaway.c | ||
| sun4i-lradc-keys.c | ||
| sunkbd.c | ||
| tc3589x-keypad.c | ||
| tca6416-keypad.c | ||
| tca8418_keypad.c | ||
| tegra-kbc.c | ||
| tm2-touchkey.c | ||
| twl4030_keypad.c | ||
| w90p910_keypad.c | ||
| xtkbd.c | ||