Ignore:
Timestamp:
May 1, 2010, 9:49:10 PM (16 years ago)
Author:
David Azarewicz
Message:

Cleanup compiler warnings

Location:
GPL/trunk/alsa-kernel/isa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/isa/sb/sb16_csp.c

    r426 r479  
    66 *
    77 *  CSP microcode loader:
    8  *   alsa-tools/sb16_csp/ 
     8 *   alsa-tools/sb16_csp/
    99 *
    10  *   This program is free software; you can redistribute it and/or modify 
     10 *   This program is free software; you can redistribute it and/or modify
    1111 *   it under the terms of the GNU General Public License as published by
    1212 *   the Free Software Foundation; either version 2 of the License, or
     
    3232#include <sound/sb16_csp.h>
    3333#include <sound/initval.h>
     34#include <proto.h>
    3435
    3536MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>");
     
    300301
    301302/*
    302  * load microcode via ioctl: 
     303 * load microcode via ioctl:
    303304 * code is user-space pointer
    304305 */
     
    682683        return result;
    683684}
    684  
     685
    685686static int snd_sb_csp_load_user(struct snd_sb_csp * p, const unsigned char __user *buf, int size, int load_flags)
    686687{
     
    731732
    732733        /* if CSP is running or manually loaded then exit */
    733         if (p->running & (SNDRV_SB_CSP_ST_RUNNING | SNDRV_SB_CSP_ST_LOADED)) 
     734        if (p->running & (SNDRV_SB_CSP_ST_RUNNING | SNDRV_SB_CSP_ST_LOADED))
    734735                return -EBUSY;
    735736
     
    764765                        }
    765766                        p->acc_format = SNDRV_PCM_FMTBIT_IMA_ADPCM;
    766                         break;                           
     767                        break;                         
    767768                default:
    768769                        /* Decouple CSP from IRQ and DMAREQ lines */
     
    788789                        p->acc_channels = SNDRV_SB_CSP_MONO | SNDRV_SB_CSP_STEREO;
    789790                        p->acc_rates = SNDRV_SB_CSP_RATE_ALL;   /* HW codecs accept all rates */
    790                 }   
     791                }
    791792
    792793        }
  • GPL/trunk/alsa-kernel/isa/wavefront/wavefront_fx.c

    r426 r479  
    2525#include <sound/snd_wavefront.h>
    2626#include <sound/initval.h>
     27#include <proto.h>
    2728
    2829/* Control bits for the Load Control Register
     
    152153}
    153154
    154 int 
     155int
    155156snd_wavefront_fx_release (struct snd_hwdep *hw, struct file *file)
    156157
Note: See TracChangeset for help on using the changeset viewer.