29 #include <linux/module.h>
34 #include <linux/slab.h>
47 pd = platform_device_register_simple(
"nop_usb_xceiv", -1,
NULL, 0);
82 static int nop_set_host(
struct usb_otg *otg,
struct usb_bus *
host)
118 nop->
phy.label =
"nop-xceiv";
119 nop->
phy.set_suspend = nop_set_suspend;
122 nop->
phy.otg->phy = &nop->
phy;
123 nop->
phy.otg->set_host = nop_set_host;
124 nop->
phy.otg->set_peripheral = nop_set_peripheral;
128 dev_err(&pdev->
dev,
"can't register transceiver, err: %d\n",
133 platform_set_drvdata(pdev, nop);
150 platform_set_drvdata(pdev,
NULL);
158 .probe = nop_usb_xceiv_probe,
161 .name =
"nop_usb_xceiv",
166 static int __init nop_usb_xceiv_init(
void)
172 static void __exit nop_usb_xceiv_exit(
void)