summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-02-29 23:33:25 +0100
committerSekhar Nori <nsekhar@ti.com>2016-04-14 08:39:49 +0200
commit9fb69a27e938ca1079c16c213f5e8c8d90d6e2f3 (patch)
tree15f52ad93017092aafa713a3da614054e561530b /arch/arm/mach-davinci
parentARM: davinci: simplify call to of populate (diff)
downloadlinux-9fb69a27e938ca1079c16c213f5e8c8d90d6e2f3.tar.xz
linux-9fb69a27e938ca1079c16c213f5e8c8d90d6e2f3.zip
ARM: davinci: remove unused DA8XX_NUM_UARTS
DA8X_NUM_UARTS not used in the code anywhere and should be determined by DT anyway. Signed-off-by: David Lechner <david@lechnology.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r--arch/arm/mach-davinci/da8xx-dt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c
index 358ab34c4f94..08880e70bc03 100644
--- a/arch/arm/mach-davinci/da8xx-dt.c
+++ b/arch/arm/mach-davinci/da8xx-dt.c
@@ -18,8 +18,6 @@
#include "cp_intc.h"
#include <mach/da8xx.h>
-#define DA8XX_NUM_UARTS 3
-
static const struct of_device_id const da8xx_irq_match[] __initconst = {
{ .compatible = "ti,cp-intc", .data = cp_intc_of_init, },
{ }