aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2018-07-02 13:55:50 +0200
committerGeert Uytterhoeven <[email protected]>2018-07-29 10:48:18 +0200
commitdae0c332b6b37bdb6eeed9df6fa168b10def8acc (patch)
tree795d13818499ff509ea7669b0191631705a6dd4a /net/lapb/lapb_subr.c
parent4042cd756e193f49469d31a23d5b85c4dca2a3b6 (diff)
Input: hilkbd - Add casts to HP9000/300 I/O accessors
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 <[email protected]> Acked-by: Greg Ungerer <[email protected]> Acked-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions