USB: Rework usb_kbd.c
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 10 Oct 2011 15:34:26 +0000 (16:34 +0100)
committerRemy Bohmer <linux@bohmer.net>
Sun, 11 Dec 2011 13:40:38 +0000 (14:40 +0100)
commit9a8c72a6c42471d503d573988510e8ec71edddaa
treea09a9c3fdc14af7d747ff229639e25213025c30b
parent48c8073ec957b4b472835f4c7b6447f7e518e2f5
USB: Rework usb_kbd.c

* Support dynamic allocation of devices
* Passing data via usb device privptr
* Reorder functions to avoid forward declarations
* Introduce generic polling mechanism to fix musb and ehci-hcd breakage
  due to using "extern new;" to access keyboard driver data!

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Cc: Remy Bohmer <linux@bohmer.net>
Cc: Wolfgang Denk <wd@denx.de>
common/usb_kbd.c