]> git.karo-electronics.de Git - linux-beck.git/commit
USB: ehci-omap: fix compile failure(v1)
authorMing Lei <ming.lei@canonical.com>
Fri, 13 Jul 2012 09:25:24 +0000 (17:25 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 00:13:39 +0000 (17:13 -0700)
commitba5952e0711b14d8d4fe172671f8aa6091ace3ee
treead3cd8b2c781673f263813c49847a34143e4aee6
parent72119743651054ceddd4fdf0cce161bdb4cc4aac
USB: ehci-omap: fix compile failure(v1)

The omap_ehci_init() is introduced in the below commit:

commit 1a49e2ac9651df7349867a5cf44e2c83de1046af(EHCI:
centralize controller initialization)

the local variable of 'pdev' inside omap_ehci_init() is used
but not defined, so fix the compiling failure.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-omap.c