mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
ARM: omap1: remove dead code
After the removal of the unused board files, I went through the omap1 code to look for code that no longer has any callers and remove that. In particular, support for the omap7xx/omap8xx family is now completely unused, so I'm only leaving omap15xx/omap16xx/omap59xx. Cc: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Janusz Krzysztofik <jmkrzyszt@gmail.com> Cc: linux-omap@vger.kernel.org Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
@@ -261,22 +261,6 @@ static const struct platform_device_info omap_dma_dev_info = {
|
||||
.num_res = 1,
|
||||
};
|
||||
|
||||
/* OMAP730, OMAP850 */
|
||||
static const struct dma_slave_map omap7xx_sdma_map[] = {
|
||||
{ "omap-mcbsp.1", "tx", SDMA_FILTER_PARAM(8) },
|
||||
{ "omap-mcbsp.1", "rx", SDMA_FILTER_PARAM(9) },
|
||||
{ "omap-mcbsp.2", "tx", SDMA_FILTER_PARAM(10) },
|
||||
{ "omap-mcbsp.2", "rx", SDMA_FILTER_PARAM(11) },
|
||||
{ "mmci-omap.0", "tx", SDMA_FILTER_PARAM(21) },
|
||||
{ "mmci-omap.0", "rx", SDMA_FILTER_PARAM(22) },
|
||||
{ "omap_udc", "rx0", SDMA_FILTER_PARAM(26) },
|
||||
{ "omap_udc", "rx1", SDMA_FILTER_PARAM(27) },
|
||||
{ "omap_udc", "rx2", SDMA_FILTER_PARAM(28) },
|
||||
{ "omap_udc", "tx0", SDMA_FILTER_PARAM(29) },
|
||||
{ "omap_udc", "tx1", SDMA_FILTER_PARAM(30) },
|
||||
{ "omap_udc", "tx2", SDMA_FILTER_PARAM(31) },
|
||||
};
|
||||
|
||||
/* OMAP1510, OMAP1610*/
|
||||
static const struct dma_slave_map omap1xxx_sdma_map[] = {
|
||||
{ "omap-mcbsp.1", "tx", SDMA_FILTER_PARAM(8) },
|
||||
@@ -371,13 +355,8 @@ static int __init omap1_system_dma_init(void)
|
||||
p.dma_attr = d;
|
||||
p.errata = configure_dma_errata();
|
||||
|
||||
if (cpu_is_omap7xx()) {
|
||||
p.slave_map = omap7xx_sdma_map;
|
||||
p.slavecnt = ARRAY_SIZE(omap7xx_sdma_map);
|
||||
} else {
|
||||
p.slave_map = omap1xxx_sdma_map;
|
||||
p.slavecnt = ARRAY_SIZE(omap1xxx_sdma_map);
|
||||
}
|
||||
p.slave_map = omap1xxx_sdma_map;
|
||||
p.slavecnt = ARRAY_SIZE(omap1xxx_sdma_map);
|
||||
|
||||
ret = platform_device_add_data(pdev, &p, sizeof(p));
|
||||
if (ret) {
|
||||
|
||||
Reference in New Issue
Block a user