summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-02-29 16:33:25 -0600
committerSekhar Nori <nsekhar@ti.com>2016-04-14 12:09:49 +0530
commit9fb69a27e938ca1079c16c213f5e8c8d90d6e2f3 (patch)
tree15f52ad93017092aafa713a3da614054e561530b
parent2f44a8d141bcfc866d7f3672563a7da735dacce6 (diff)
downloadop-kernel-dev-9fb69a27e938ca1079c16c213f5e8c8d90d6e2f3.zip
op-kernel-dev-9fb69a27e938ca1079c16c213f5e8c8d90d6e2f3.tar.gz
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>
-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 358ab34..08880e7 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, },
{ }
OpenPOWER on IntegriCloud