summaryrefslogtreecommitdiffstats
path: root/sys/mips/rt305x/uart_dev_rt305x.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/rt305x/uart_dev_rt305x.c')
-rw-r--r--sys/mips/rt305x/uart_dev_rt305x.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/mips/rt305x/uart_dev_rt305x.c b/sys/mips/rt305x/uart_dev_rt305x.c
index 3154cb9..d4f2319 100644
--- a/sys/mips/rt305x/uart_dev_rt305x.c
+++ b/sys/mips/rt305x/uart_dev_rt305x.c
@@ -73,13 +73,9 @@ static struct uart_ops uart_rt305x_uart_ops = {
};
static int uart_output = 1;
-TUNABLE_INT("kern.uart_output", &uart_output);
-SYSCTL_INT(_kern, OID_AUTO, uart_output, CTLFLAG_RW,
+SYSCTL_INT(_kern, OID_AUTO, uart_output, CTLFLAG_RWTUN,
&uart_output, 0, "UART output enabled.");
-
-
-
static int
rt305x_uart_probe(struct uart_bas *bas)
{
OpenPOWER on IntegriCloud