usb: ehci: exynos: Fix multiple FDT decode
authorVivek Gautam <gautam.vivek@samsung.com>
Wed, 6 Mar 2013 08:48:32 +0000 (14:18 +0530)
committerMarek Vasut <marex@denx.de>
Mon, 18 Mar 2013 17:58:53 +0000 (18:58 +0100)
commit24a4775f91b188e7a1e19dff4b0063bd8fc900c8
tree5344495fe04caaa0ca9bbb070cc7bcf3c9a5308c
parent83301b4f8bfac09f7e13bd38613e1a223bf8b1df
usb: ehci: exynos: Fix multiple FDT decode

With current FDT support driver tries to parse device node
twice in ehci_hcd_init() and ehci_hcd_stop(), which shouldn't
happen ideally.
Making provision to store data in a global structure and thereby
passing its pointer when needed.

Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
drivers/usb/host/ehci-exynos.c