Commit e9eb2e08 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Felipe Balbi

usb: musb: remove ti81xx pieces from musb

ti81xx does not have a baseport mainline i.e. it should not boot. The
amount of rework that is required makes it easier to simply remove that
platform (i.e. that possible platform device) and add it later once it
comes back with DT support.
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 7557a57f
...@@ -46,9 +46,7 @@ ...@@ -46,9 +46,7 @@
#include "musb_core.h" #include "musb_core.h"
#ifdef CONFIG_OF
static const struct of_device_id musb_dsps_of_match[]; static const struct of_device_id musb_dsps_of_match[];
#endif
/** /**
* avoid using musb_readx()/musb_writex() as glue layer should not be * avoid using musb_readx()/musb_writex() as glue layer should not be
...@@ -753,23 +751,12 @@ static const struct dsps_musb_wrapper ti81xx_driver_data = { ...@@ -753,23 +751,12 @@ static const struct dsps_musb_wrapper ti81xx_driver_data = {
.instances = 1, .instances = 1,
}; };
static const struct platform_device_id musb_dsps_id_table[] = {
{
.name = "musb-ti81xx",
.driver_data = (kernel_ulong_t) &ti81xx_driver_data,
},
{ }, /* Terminating Entry */
};
MODULE_DEVICE_TABLE(platform, musb_dsps_id_table);
#ifdef CONFIG_OF
static const struct of_device_id musb_dsps_of_match[] = { static const struct of_device_id musb_dsps_of_match[] = {
{ .compatible = "ti,musb-am33xx", { .compatible = "ti,musb-am33xx",
.data = (void *) &ti81xx_driver_data, }, .data = (void *) &ti81xx_driver_data, },
{ }, { },
}; };
MODULE_DEVICE_TABLE(of, musb_dsps_of_match); MODULE_DEVICE_TABLE(of, musb_dsps_of_match);
#endif
static struct platform_driver dsps_usbss_driver = { static struct platform_driver dsps_usbss_driver = {
.probe = dsps_probe, .probe = dsps_probe,
...@@ -779,7 +766,6 @@ static struct platform_driver dsps_usbss_driver = { ...@@ -779,7 +766,6 @@ static struct platform_driver dsps_usbss_driver = {
.pm = &dsps_pm_ops, .pm = &dsps_pm_ops,
.of_match_table = of_match_ptr(musb_dsps_of_match), .of_match_table = of_match_ptr(musb_dsps_of_match),
}, },
.id_table = musb_dsps_id_table,
}; };
MODULE_DESCRIPTION("TI DSPS MUSB Glue Layer"); MODULE_DESCRIPTION("TI DSPS MUSB Glue Layer");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment