3a1e341c56
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>
15 lines
279 B
C
15 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
|