Skip to content
Snippets Groups Projects
Commit f3a6a40f authored by Wolfgang Reissnegger's avatar Wolfgang Reissnegger
Browse files

SAM3/4 Serial: Fix warning when CONFIG_SUPPRESS_UART_CONFIG is set.

parent 2d92bffd
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment