Input: pcspkr - fix setting name and phys for the device
authorDmitry Torokhov <dtor_core@ameritech.net>
Mon, 31 Oct 2005 06:30:05 +0000 (01:30 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Mon, 31 Oct 2005 06:30:05 +0000 (01:30 -0500)
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/misc/pcspkr.c

index e34633c37fddc5fb52ec27c68b7d146032e91a69..68ac97f101b0369a6f7a358829a3d6fd25dc4910 100644 (file)
@@ -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;