diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2011-10-31 16:01:29 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-14 11:51:19 -0800 |
commit | b8cbbf803d5ad0971665dd502d784148464c6d1a (patch) | |
tree | f43e481d6d040f1e18c5c8756e291b679499d287 /drivers/of | |
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>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions