From: Yoshihiro Shimoda Date: Mon, 31 Oct 2011 07:01:29 +0000 (+0900) Subject: usb: gadget: r8a66597-udc: fix for udc-newstyle X-Git-Tag: v3.2-rc3~17^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8cbbf803d5ad0971665dd502d784148464c6d1a;p=pandora-kernel.git usb: gadget: r8a66597-udc: fix for udc-newstyle The udc-newstyle needs device_register in probe() of platform_device. If it doesn't call, kernel panic happens in the sysfs_create_dir() when we run modprobe a gadget driver. [ balbi@ti.com : fix compile warning introduced by this patch ] Signed-off-by: Yoshihiro Shimoda Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed