staging/easycap: make OSS compilation optional instead of ALSA
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 24 Jan 2011 15:08:20 +0000 (17:08 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 24 Jan 2011 23:32:53 +0000 (07:32 +0800)
commit0edbc24c5dc7fba0dce193f7d4b7faf2ad211ba4
treee26f8b9805ceb997cd09306134efcc070a6bf61f
parent5c0c6c395ea8ad2f831c0717f67f957ba84550ad
staging/easycap: make OSS compilation optional instead of ALSA

OSS is deprecated yet currently it is reported to be more stable
therefore we keep it but make it optional
Revert the conditional compilation:
add  CONFIG_EASYCAP_OSS and kill EASYCAP_NEEDS_ALSA
move oss-only code from easycap_sound.c to easycap_sound_oss.c

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/Kconfig
drivers/staging/easycap/Makefile
drivers/staging/easycap/easycap.h
drivers/staging/easycap/easycap_ioctl.c
drivers/staging/easycap/easycap_main.c
drivers/staging/easycap/easycap_sound.c
drivers/staging/easycap/easycap_sound_oss.c [new file with mode: 0644]