Skip to content

Commit

Permalink
[ALSA] caiaq - remove ifdef
Browse files Browse the repository at this point in the history
Remove ifdef and fix Makefile for conditional builds.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 8e3cd08 commit 7f6301c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion sound/usb/caiaq/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
snd-usb-caiaq-objs := caiaq-device.o caiaq-audio.o caiaq-midi.o caiaq-input.o caiaq-control.o
snd-usb-caiaq-y := caiaq-device.o caiaq-audio.o caiaq-midi.o caiaq-control.o
snd-usb-caiaq-$(CONFIG_SND_USB_CAIAQ_INPUT) += caiaq-input.o

obj-$(CONFIG_SND_USB_CAIAQ) += snd-usb-caiaq.o
4 changes: 0 additions & 4 deletions sound/usb/caiaq/caiaq-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
#include "caiaq-device.h"
#include "caiaq-input.h"

#ifdef CONFIG_SND_USB_CAIAQ_INPUT

static unsigned short keycode_ak1[] = { KEY_C, KEY_B, KEY_A };
static unsigned short keycode_rk2[] = { KEY_1, KEY_2, KEY_3, KEY_4,
KEY_5, KEY_6, KEY_7 };
Expand Down Expand Up @@ -359,5 +357,3 @@ void snd_usb_caiaq_input_free(struct snd_usb_caiaqdev *dev)
dev->input_dev = NULL;
}

#endif /* CONFIG_SND_USB_CAIAQ_INPUT */

0 comments on commit 7f6301c

Please sign in to comment.