From 749e02f6ea7b9453f1cb10fe3e17fe79475ba660 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Fri, 28 Apr 2017 11:02:52 -0500 Subject: [PATCH] serial: uart_stellaris: remove export of uart_stellaris_isr There isn't any reason to export the uart_stellaris_isr function, so lets make it static and remove the associated header file. Change-Id: I3a131b584d9d6fb6279a1503512668a71510dd4d Signed-off-by: Kumar Gala --- drivers/serial/uart_stellaris.c | 4 +--- drivers/serial/uart_stellaris.h | 16 ---------------- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 drivers/serial/uart_stellaris.h diff --git a/drivers/serial/uart_stellaris.c b/drivers/serial/uart_stellaris.c index 0ac815a674b..c34dbe90e49 100644 --- a/drivers/serial/uart_stellaris.c +++ b/drivers/serial/uart_stellaris.c @@ -24,8 +24,6 @@ #include #include -#include "uart_stellaris.h" - /* definitions */ /* Stellaris UART module */ @@ -588,7 +586,7 @@ static void uart_stellaris_irq_callback_set(struct device *dev, * * @return N/A */ -void uart_stellaris_isr(void *arg) +static void uart_stellaris_isr(void *arg) { struct device *dev = arg; struct uart_stellaris_dev_data_t * const dev_data = DEV_DATA(dev); diff --git a/drivers/serial/uart_stellaris.h b/drivers/serial/uart_stellaris.h deleted file mode 100644 index 59de5be9688..00000000000 --- a/drivers/serial/uart_stellaris.h +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright (c) 2016 Intel Corporation. - * - * SPDX-License-Identifier: Apache-2.0 - */ - -/** - * @file Header file for Stellaris UART. - */ - -#ifndef _UART_STELLARIS_H_ -#define _UART_STELLARIS_H_ - -void uart_stellaris_isr(void *arg); - -#endif /* _UART_STELLARIS_H_ */