diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-05-28 02:11:12 -0500 |
---|---|---|
committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-05-28 02:11:12 -0500 |
commit | 668d1e6093110f7534e661e2ff43d54c74659b6d (patch) | |
tree | 58823c949c881605fdf7b23876f2f682fa52effb /sound/oss/hal2.h | |
parent | 271b74d0b886301f297407dd7ae11b99607f8089 (diff) | |
download | linux-stable-668d1e6093110f7534e661e2ff43d54c74659b6d.tar.gz linux-stable-668d1e6093110f7534e661e2ff43d54c74659b6d.tar.bz2 linux-stable-668d1e6093110f7534e661e2ff43d54c74659b6d.zip |
Input:
This patch adds dummy gameport_register_port, gameport_unregister_port
and gameport_set_phys functions to gameport.h for the case when a driver
can't use gameport.
This fixes the compilation of some OSS drivers with GAMEPORT=n without
the need to #if inside every single driver.
This patch also removes the non-working and now obsolete SOUND_GAMEPORT.
This patch is also an alternative solution for ALSA drivers with similar
problems (but #if's inside the drivers might have the advantage of
saving some more bytes of gameport is not available).
The only user-visible change is that for GAMEPORT=m the affected OSS
drivers are now allowed to be built statically (but they won't have
gameport support).
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Vojtech Pavlik <vojtech@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'sound/oss/hal2.h')
0 files changed, 0 insertions, 0 deletions