summaryrefslogtreecommitdiff
path: root/include/linux/gameport.h
diff options
context:
space:
mode:
authorNiklas Schnelle <schnelle@linux.ibm.com>2023-07-05 14:56:28 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-07-05 17:32:34 -0700
commit650cda2ce25f08e8fae391b3ba6be27e7296c6a5 (patch)
tree2ff79e4fd0e68b43922dfd514168c0c887b97326 /include/linux/gameport.h
parent8c9cce9cb81b5fdc6e66bf3f129727b89e8daab7 (diff)
downloadlwn-650cda2ce25f08e8fae391b3ba6be27e7296c6a5.tar.gz
lwn-650cda2ce25f08e8fae391b3ba6be27e7296c6a5.zip
Input: gameport - add ISA and HAS_IOPORT dependencies
In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. As ISA already implies HAS_IOPORT we can simply add this dependency and guard sections of code using inb()/outb() as alternative access methods. Co-developed-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com> Link: https://lore.kernel.org/r/20230703152355.3897456-2-schnelle@linux.ibm.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/gameport.h')
0 files changed, 0 insertions, 0 deletions