summaryrefslogtreecommitdiff
path: root/drivers/input/misc/pcspkr.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-10-31 09:30:05 +0300
committerDmitry Torokhov <dtor_core@ameritech.net>2005-10-31 09:30:05 +0300
commit1259f2b3657e21f18a7f31f9b1c027e304838b18 (patch)
treebcda4d7abad202ec6a91630d997312ba79e4ce4b /drivers/input/misc/pcspkr.c
parent995fc4df0bc8d88417742e4b1d17889fc64b6ef3 (diff)
downloadlinux-1259f2b3657e21f18a7f31f9b1c027e304838b18.tar.xz
Input: pcspkr - fix setting name and phys for the device
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/pcspkr.c')
-rw-r--r--drivers/input/misc/pcspkr.c2
1 files changed, 1 insertions, 1 deletions
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;