From: Dmitry Torokhov Date: Mon, 31 Oct 2005 06:30:05 +0000 (-0500) Subject: Input: pcspkr - fix setting name and phys for the device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1259f2b3657e21f18a7f31f9b1c027e304838b18;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Input: pcspkr - fix setting name and phys for the device Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/pcspkr.c b/drivers/input/misc/pcspkr.c index e34633c37fdd..68ac97f101b0 100644 --- a/drivers/input/misc/pcspkr.c +++ b/drivers/input/misc/pcspkr.c @@ -71,7 +71,7 @@ static int __init pcspkr_init(void) return -ENOMEM; pcspkr_dev->name = "PC Speaker"; - pcspkr_dev->name = "isa0061/input0"; + pcspkr_dev->phys = "isa0061/input0"; pcspkr_dev->id.bustype = BUS_ISA; pcspkr_dev->id.vendor = 0x001f; pcspkr_dev->id.product = 0x0001;