zephyr/drivers
Kumar Gala bf0add1a34 drivers: serial: uart_sam0: Fix build error with CONFIG_UART_ASYNC_API
When we build this driver with CONFIG_UART_ASYNC_API enabled we get the
following build error:

uart_sam0.c: In function 'uart_sam0_init':
uart_sam0.c:558:35: error: redefinition of 'dev_data'
  558 |  struct uart_sam0_dev_data *const dev_data = DEV_DATA(dev);
uart_sam0.c:498:35: note: previous definition of 'dev_data' was here
  498 |  struct uart_sam0_dev_data *const dev_data = DEV_DATA(dev);

Fix this be removnig the duplicate at line 558.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-21 08:00:49 -05:00
..
adc
audio
bluetooth
can
clock_control
console
counter
crypto
dac
debug
display
dma
eeprom
entropy
espi
ethernet
flash
gpio
hwinfo
i2c
i2s
ieee802154
interrupt_controller
ipm
kscan
led
led_strip
lora
modem
net
neural_net
pcie
peci
pinmux
ps2
ptp_clock
pwm
sensor
serial
spi
timer
usb
video
watchdog
wifi
CMakeLists.txt
Kconfig