diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2014-03-25 15:53:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 14:17:43 -0700 |
commit | 4ea8dafd2475e26b3cee3836bc6e6fddbdfb2721 (patch) | |
tree | fa4518ceed045c14e8368177661b1750fcac03d0 /drivers/tty | |
parent | 93a2e470ef3b17495029a89a05e25830aeca1ffb (diff) | |
download | op-kernel-dev-4ea8dafd2475e26b3cee3836bc6e6fddbdfb2721.zip op-kernel-dev-4ea8dafd2475e26b3cee3836bc6e6fddbdfb2721.tar.gz |
serial: efm32: use $vendor,$device scheme for compatible string
Wolfram Sang pointed out that "efm32,$device" is non-standard. So use the
common scheme and prefix device with "efm32-". The old compatible string
is left in place until arch/arm/boot/dts/efm32* is fixed.
Reported-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/efm32-uart.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c index 028582e..c167a71 100644 --- a/drivers/tty/serial/efm32-uart.c +++ b/drivers/tty/serial/efm32-uart.c @@ -798,6 +798,9 @@ static int efm32_uart_remove(struct platform_device *pdev) static const struct of_device_id efm32_uart_dt_ids[] = { { + .compatible = "energymicro,efm32-uart", + }, { + /* doesn't follow the "vendor,device" scheme, don't use */ .compatible = "efm32,uart", }, { /* sentinel */ |