summaryrefslogtreecommitdiff
path: root/drivers/staging/line6/pcm.h
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2015-01-12 12:42:36 -0800
committerTakashi Iwai <tiwai@suse.de>2015-01-12 22:23:57 +0100
commit5c3396f909aa02d0b7337258c78bd872510e837d (patch)
tree812cec67157aaa6d223279bb1eb49330ce416d3b /drivers/staging/line6/pcm.h
parent690ea44ede52e3e45eeab3b0e9704d7c3b258ae5 (diff)
staging: line6: Remove `device_bit' from properties
The `device_bit' member was no longer used as of commit 2807904441d4 (staging: line6: drop MIDI parameter sysfs attrs). Signed-off-by: Chris Rorvick <chris@rorvick.com> Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/staging/line6/pcm.h')
-rw-r--r--drivers/staging/line6/pcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/line6/pcm.h b/drivers/staging/line6/pcm.h
index 5d87934691ec..4f608237c006 100644
--- a/drivers/staging/line6/pcm.h
+++ b/drivers/staging/line6/pcm.h
@@ -98,6 +98,8 @@ enum {
LINE6_INDEX_PAUSE_PLAYBACK,
LINE6_INDEX_PREPARED,
+#define LINE6_BIT(x) LINE6_BIT_ ## x = 1 << LINE6_INDEX_ ## x
+
/* individual bit masks: */
LINE6_BIT(PCM_ALSA_PLAYBACK_BUFFER),
LINE6_BIT(PCM_ALSA_PLAYBACK_STREAM),