mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
1a59d1b8e0
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1334 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
513 B
C
24 lines
513 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* ALSA Driver for the PT2258 volume controller.
|
|
*
|
|
* Copyright (c) 2006 Jochen Voss <voss@seehuhn.de>
|
|
*/
|
|
|
|
#ifndef __SOUND_PT2258_H
|
|
#define __SOUND_PT2258_H
|
|
|
|
struct snd_pt2258 {
|
|
struct snd_card *card;
|
|
struct snd_i2c_bus *i2c_bus;
|
|
struct snd_i2c_device *i2c_dev;
|
|
|
|
unsigned char volume[6];
|
|
int mute;
|
|
};
|
|
|
|
extern int snd_pt2258_reset(struct snd_pt2258 *pt);
|
|
extern int snd_pt2258_build_controls(struct snd_pt2258 *pt);
|
|
|
|
#endif /* __SOUND_PT2258_H */
|