]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: ux500: delete static resource defines
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 14 May 2015 08:42:32 +0000 (10:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 May 2015 13:08:15 +0000 (15:08 +0200)
These macros were used in the past to define static resources,
but are not used anymore and have no future, delete them.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/setup.h

index cf5a8736ea9dbb8e2a3a408319b63a6f72998dd2..1fb6ad2789f18b404ab77dada2da69eee92599ee 100644 (file)
@@ -26,20 +26,6 @@ extern struct device *ux500_soc_device_init(const char *soc_id);
 
 extern void ux500_timer_init(void);
 
-#define __IO_DEV_DESC(x, sz)   {               \
-       .virtual        = IO_ADDRESS(x),        \
-       .pfn            = __phys_to_pfn(x),     \
-       .length         = sz,                   \
-       .type           = MT_DEVICE,            \
-}
-
-#define __MEM_DEV_DESC(x, sz)  {               \
-       .virtual        = IO_ADDRESS(x),        \
-       .pfn            = __phys_to_pfn(x),     \
-       .length         = sz,                   \
-       .type           = MT_MEMORY_RWX,                \
-}
-
 extern struct smp_operations ux500_smp_ops;
 extern void ux500_cpu_die(unsigned int cpu);