commit | b8cbbf803d5ad0971665dd502d784148464c6d1a | [log] [tgz] |
---|---|---|
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | Mon Oct 31 16:01:29 2011 +0900 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Nov 14 11:51:19 2011 -0800 |
tree | f43e481d6d040f1e18c5c8756e291b679499d287 | |
parent | 0de174b56ba70e5c0a26de9b5d2889260164d666 [diff] |
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 <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>