diff options
author | Felipe Balbi <balbi@ti.com> | 2010-12-02 02:48:58 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2010-12-10 03:21:23 -0500 |
commit | f7ec94370f417fedad4db1054228ef958d48b926 (patch) | |
tree | b036e02e21c04f60300394247869bdd5cda90026 /drivers/usb/musb/musb_core.c | |
parent | a023c631f546ef95d58969385825a47652ab9039 (diff) |
usb: musb: pass platform_ops via platform_data
... then we don't need to export any symbols
from glue layer to musb_core.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
-rw-r--r-- | drivers/usb/musb/musb_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 1ca14f90c994..dcc77ef6cfff 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c | |||
@@ -1897,7 +1897,6 @@ allocate_instance(struct device *dev, | |||
1897 | } | 1897 | } |
1898 | 1898 | ||
1899 | musb->controller = dev; | 1899 | musb->controller = dev; |
1900 | musb->ops = &musb_ops; | ||
1901 | 1900 | ||
1902 | return musb; | 1901 | return musb; |
1903 | } | 1902 | } |
@@ -1997,6 +1996,7 @@ bad_config: | |||
1997 | musb->board_set_power = plat->set_power; | 1996 | musb->board_set_power = plat->set_power; |
1998 | musb->set_clock = plat->set_clock; | 1997 | musb->set_clock = plat->set_clock; |
1999 | musb->min_power = plat->min_power; | 1998 | musb->min_power = plat->min_power; |
1999 | musb->ops = plat->platform_ops; | ||
2000 | 2000 | ||
2001 | /* Clock usage is chip-specific ... functional clock (DaVinci, | 2001 | /* Clock usage is chip-specific ... functional clock (DaVinci, |
2002 | * OMAP2430), or PHY ref (some TUSB6010 boards). All this core | 2002 | * OMAP2430), or PHY ref (some TUSB6010 boards). All this core |