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-Tag: v2.6.15-rc1~59^2~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1259f2b3657e21f18a7f31f9b1c027e304838b18;p=linux-2.6 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 e34633c37f..68ac97f101 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;