From 1259f2b3657e21f18a7f31f9b1c027e304838b18 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Mon, 31 Oct 2005 01:30:05 -0500 Subject: [PATCH] Input: pcspkr - fix setting name and phys for the device Signed-off-by: Dmitry Torokhov --- drivers/input/misc/pcspkr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2