mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
![Takashi Iwai](/assets/img/avatar_default.png)
Use the new snd_devm_card_new() for the card object allocation and the devres version for the input device, and clean up the superfluous remove callback. Link: https://lore.kernel.org/r/20210715075941.23332-80-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
14 lines
279 B
C
14 lines
279 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* PC-Speaker driver for Linux
|
|
*
|
|
* Copyright (C) 2001-2008 Stas Sergeev
|
|
*/
|
|
|
|
#ifndef __PCSP_INPUT_H__
|
|
#define __PCSP_INPUT_H__
|
|
|
|
int pcspkr_input_init(struct input_dev **rdev, struct device *dev);
|
|
void pcspkr_stop_sound(void);
|
|
|
|
#endif
|