From: Kuninori Morimoto Date: Thu, 13 Oct 2011 04:02:22 +0000 (-0700) Subject: usb: gadget: renesas_usbhs: bugfix: don't modify platform data X-Git-Tag: v3.2-rc1~183^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=482982062f1bc25ffb5383ab724d73d1a7af07cf;p=pandora-kernel.git usb: gadget: renesas_usbhs: bugfix: don't modify platform data renesas_usbhs has default callback functions and settings. And it tried overwrite to platform private data if platform doesn't have them. So, if renesas_usbhs was compiled as module, it will be hung-up on 2nd insmod. This patch fixup it. Special thanks to Bastian Reported-by: Bastian Hecht Signed-off-by: Kuninori Morimoto Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed