Ignore:
Timestamp:
Mar 18, 2021, 8:57:36 PM (5 years ago)
Author:
David Azarewicz
Message:

Merge changes from Paul's uniaud32next branch.

Location:
GPL/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk

  • GPL/trunk/alsa-kernel/include/sound/ad1816a.h

    r426 r679  
     1/* SPDX-License-Identifier: GPL-2.0-or-later */
    12#ifndef __SOUND_AD1816A_H
    23#define __SOUND_AD1816A_H
     
    67    Copyright (C) 1999-2000 by Massimo Piccioni <dafastidio@libero.it>
    78
    8     This program is free software; you can redistribute it and/or modify
    9     it under the terms of the GNU General Public License as published by
    10     the Free Software Foundation; either version 2 of the License, or
    11     (at your option) any later version.
    12 
    13     This program is distributed in the hope that it will be useful,
    14     but WITHOUT ANY WARRANTY; without even the implied warranty of
    15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16     GNU General Public License for more details.
    17 
    18     You should have received a copy of the GNU General Public License
    19     along with this program; if not, write to the Free Software
    20     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
    219*/
    2210
    23 #include "control.h"
    24 #include "pcm.h"
    25 #include "timer.h"
     11#include <sound/control.h>
     12#include <sound/pcm.h>
     13#include <sound/timer.h>
    2614
    2715#define AD1816A_REG(r)                  (chip->port + r)
     
    148136
    149137        struct snd_timer *timer;
     138#ifdef CONFIG_PM
     139        unsigned short image[48];
     140#endif
    150141};
    151142
     
    166157extern int snd_ad1816a_create(struct snd_card *card, unsigned long port,
    167158                              int irq, int dma1, int dma2,
    168                               struct snd_ad1816a **chip);
     159                              struct snd_ad1816a *chip);
    169160
    170 extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device, struct snd_pcm **rpcm);
     161extern int snd_ad1816a_pcm(struct snd_ad1816a *chip, int device);
    171162extern int snd_ad1816a_mixer(struct snd_ad1816a *chip);
    172 extern int snd_ad1816a_timer(struct snd_ad1816a *chip, int device,
    173                              struct snd_timer **rtimer);
     163extern int snd_ad1816a_timer(struct snd_ad1816a *chip, int device);
     164#ifdef CONFIG_PM
     165extern void snd_ad1816a_suspend(struct snd_ad1816a *chip);
     166extern void snd_ad1816a_resume(struct snd_ad1816a *chip);
     167#endif
    174168
    175169#endif  /* __SOUND_AD1816A_H */
Note: See TracChangeset for help on using the changeset viewer.