aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/ad1848.c
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2011-07-27 12:48:41 -0400
committerTakashi Iwai <tiwai@suse.de>2011-07-27 13:16:05 -0400
commit8d34e6d3ec0393a286569587fbd9675abd258d93 (patch)
treea9cc1ef4024ff96a93b0c0f2013d0d604a7b9177 /sound/oss/ad1848.c
parentc48a8fb0d31d6147d8d76b8e2ad7f51a2fbb5c4d (diff)
sound: oss: rename local change_bits to avoid powerpc bitsops.h definition
This collides with powerpc exported functions from bitops.h. Rename the local copy in the oss soundblaster mixer and ad1848 driver. Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/ad1848.c')
-rw-r--r--sound/oss/ad1848.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/oss/ad1848.c b/sound/oss/ad1848.c
index 4d2a6ae978f7..8a197fd3c57e 100644
--- a/sound/oss/ad1848.c
+++ b/sound/oss/ad1848.c
@@ -458,7 +458,7 @@ static int ad1848_set_recmask(ad1848_info * devc, int mask)
458 return mask; 458 return mask;
459} 459}
460 460
461static void change_bits(ad1848_info * devc, unsigned char *regval, 461static void oss_change_bits(ad1848_info *devc, unsigned char *regval,
462 unsigned char *muteval, int dev, int chn, int newval) 462 unsigned char *muteval, int dev, int chn, int newval)
463{ 463{
464 unsigned char mask; 464 unsigned char mask;
@@ -516,10 +516,10 @@ static void ad1848_mixer_set_channel(ad1848_info *devc, int dev, int value, int
516 516
517 if (muteregoffs != regoffs) { 517 if (muteregoffs != regoffs) {
518 muteval = ad_read(devc, muteregoffs); 518 muteval = ad_read(devc, muteregoffs);
519 change_bits(devc, &val, &muteval, dev, channel, value); 519 oss_change_bits(devc, &val, &muteval, dev, channel, value);
520 } 520 }
521 else 521 else
522 change_bits(devc, &val, &val, dev, channel, value); 522 oss_change_bits(devc, &val, &val, dev, channel, value);
523 523
524 spin_lock_irqsave(&devc->lock,flags); 524 spin_lock_irqsave(&devc->lock,flags);
525 ad_write(devc, regoffs, val); 525 ad_write(devc, regoffs, val);