From: Al Viro Date: Sat, 29 Oct 2005 06:08:49 +0000 (+0100) Subject: [PATCH] missing bits in sparkspkr conversion X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9d86b7d37018c917837477dd4501d44bf8f3f98c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [PATCH] missing bits in sparkspkr conversion Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- diff --git a/drivers/input/misc/sparcspkr.c b/drivers/input/misc/sparcspkr.c index 5778220a18d..29d97b12be7 100644 --- a/drivers/input/misc/sparcspkr.c +++ b/drivers/input/misc/sparcspkr.c @@ -143,7 +143,7 @@ static int __init init_isa_beep(struct sparc_isa_device *isa_dev) sparcspkr_dev->name = "Sparc ISA Speaker"; sparcspkr_dev->event = isa_spkr_event; - input_register_device(&sparcspkr_dev); + input_register_device(sparcspkr_dev); return 0; }