diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2023-07-05 14:56:28 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-07-05 17:32:34 -0700 |
commit | 650cda2ce25f08e8fae391b3ba6be27e7296c6a5 (patch) | |
tree | 2ff79e4fd0e68b43922dfd514168c0c887b97326 /include/linux/gameport.h | |
parent | 8c9cce9cb81b5fdc6e66bf3f129727b89e8daab7 (diff) | |
download | lwn-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