Merge tag 'drm-misc-fixes-2020-08-12' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-block.git] / include / sound / pt2258.h
CommitLineData
1a59d1b8 1/* SPDX-License-Identifier: GPL-2.0-or-later */
feaa6a74
JV
2/*
3 * ALSA Driver for the PT2258 volume controller.
4 *
5 * Copyright (c) 2006 Jochen Voss <voss@seehuhn.de>
feaa6a74
JV
6 */
7
8#ifndef __SOUND_PT2258_H
9#define __SOUND_PT2258_H
10
11struct snd_pt2258 {
12 struct snd_card *card;
13 struct snd_i2c_bus *i2c_bus;
14 struct snd_i2c_device *i2c_dev;
15
16 unsigned char volume[6];
17 int mute;
18};
19
20extern int snd_pt2258_reset(struct snd_pt2258 *pt);
21extern int snd_pt2258_build_controls(struct snd_pt2258 *pt);
22
23#endif /* __SOUND_PT2258_H */