SAM3/4 Serial: Fix warning when CONFIG_SUPPRESS_UART_CONFIG is set.
This commit is contained in:
parent
2d92bffdcc
commit
f3a6a40f62
@ -692,8 +692,8 @@ static void up_disableallints(struct up_dev_s *priv, uint32_t *imr)
|
||||
|
||||
static int up_setup(struct uart_dev_s *dev)
|
||||
{
|
||||
struct up_dev_s *priv = (struct up_dev_s *)dev->priv;
|
||||
#ifndef CONFIG_SUPPRESS_UART_CONFIG
|
||||
struct up_dev_s *priv = (struct up_dev_s *)dev->priv;
|
||||
uint32_t regval;
|
||||
uint32_t imr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user