mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work@mail.ru>
To: barebox@lists.infradead.org
Subject: [PATCH 03/10] ARM: omap: delete unused mach/am33xx-devices.h
Date: Sun, 20 Jan 2019 13:35:26 +0300	[thread overview]
Message-ID: <20190120103533.7146-3-shc_work@mail.ru> (raw)
In-Reply-To: <20190120103533.7146-1-shc_work@mail.ru>

This removes the stale mach/am33xx-devices.h include as there is no user of it.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/mach-omap/include/mach/am33xx-devices.h | 80 ------------------------
 1 file changed, 80 deletions(-)
 delete mode 100644 arch/arm/mach-omap/include/mach/am33xx-devices.h

diff --git a/arch/arm/mach-omap/include/mach/am33xx-devices.h b/arch/arm/mach-omap/include/mach/am33xx-devices.h
deleted file mode 100644
index 4790071..0000000
--- a/arch/arm/mach-omap/include/mach/am33xx-devices.h
+++ /dev/null
@@ -1,80 +0,0 @@
-#ifndef __MACH_OMAP3_DEVICES_H
-#define __MACH_OMAP3_DEVICES_H
-
-#include <driver.h>
-#include <linux/sizes.h>
-#include <mach/am33xx-silicon.h>
-#include <mach/devices.h>
-#include <mach/omap_hsmmc.h>
-#include <mach/cpsw.h>
-
-/* the device numbering is the same as in the TRM memory map (SPRUH73G) */
-
-static inline struct device_d *am33xx_add_uart0(void)
-{
-	return omap_add_uart(0, AM33XX_UART0_BASE);
-}
-
-static inline struct device_d *am33xx_add_uart1(void)
-{
-	return omap_add_uart(1, AM33XX_UART1_BASE);
-}
-
-static inline struct device_d *am33xx_add_uart2(void)
-{
-	return omap_add_uart(2, AM33XX_UART2_BASE);
-}
-
-static inline struct device_d *am33xx_add_mmc0(struct omap_hsmmc_platform_data *pdata)
-{
-	return add_generic_device("omap4-hsmmc", 0, NULL,
-			AM33XX_MMCHS0_BASE, SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device_d *am33xx_add_mmc1(struct omap_hsmmc_platform_data *pdata)
-{
-	return add_generic_device("omap4-hsmmc", 1, NULL,
-			AM33XX_MMC1_BASE, SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device_d *am33xx_add_cpsw(struct cpsw_platform_data *cpsw_data)
-{
-	return add_generic_device("cpsw", 0, NULL,
-			AM335X_CPSW_BASE, SZ_32K, IORESOURCE_MEM, cpsw_data);
-}
-
-static inline struct device_d *am33xx_add_spi(int id, resource_size_t start)
-{
-	return add_generic_device("omap4-spi", id, NULL, start, SZ_4K,
-				   IORESOURCE_MEM, NULL);
-}
-
-static inline struct device_d *am33xx_add_spi0(void)
-{
-	return am33xx_add_spi(0, AM33XX_MCSPI0_BASE);
-}
-
-static inline struct device_d *am33xx_add_spi1(void)
-{
-	return am33xx_add_spi(1, AM33XX_MCSPI1_BASE);
-}
-
-static inline struct device_d *am33xx_add_i2c0(void *pdata)
-{
-	return add_generic_device("i2c-am33xx", 0, NULL, AM33XX_I2C0_BASE,
-			SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device_d *am33xx_add_i2c1(void *pdata)
-{
-	return add_generic_device("i2c-am33xx", 1, NULL, AM33XX_I2C1_BASE,
-			SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-static inline struct device_d *am33xx_add_i2c2(void *pdata)
-{
-	return add_generic_device("i2c-am33xx", 2, NULL, AM33XX_I2C2_BASE,
-			SZ_4K, IORESOURCE_MEM, pdata);
-}
-
-#endif /* __MACH_OMAP3_DEVICES_H */
-- 
2.10.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2019-01-20 10:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-20 10:35 [PATCH 01/10] ARM: mvebu: delete unused mach/kirkwood.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 02/10] ARM: imx: delete unused mach/iomux-mx50.h Alexander Shiyan
2019-01-21  8:55   ` Sascha Hauer
2019-01-21  9:32     ` Alexander Shiyan
2019-01-21  9:37       ` Sascha Hauer
2019-01-20 10:35 ` Alexander Shiyan [this message]
2019-01-20 10:35 ` [PATCH 04/10] ARM: imx: delete unused mach/devices-imx50.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 05/10] ARM: imx: delete unused mach/clock-imx1.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 06/10] ARM: mvebu: delete unused mach/dove.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 07/10] PPC: delete unused asm/e300.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 08/10] PPC: delete unused asm/mc146818rtc.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 09/10] ARM: at91: delete unused mach/sama5d3_matrix.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 10/10] ARM: netx: delete unused netx-devices.h Alexander Shiyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190120103533.7146-3-shc_work@mail.ru \
    --to=shc_work@mail.ru \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox