summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-altera.c
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@altera.com>2013-08-14 22:25:19 +0200
committerOlof Johansson <olof@lixom.net>2013-08-29 21:58:55 +0200
commit13960b47dc1df695f8537c32a0e0ce5ae5d4eee4 (patch)
tree44294a7a3bf360dbc4797bef9009758942488c3b /drivers/spi/spi-altera.c
parentof: add vendor prefix for Altera Corp. (diff)
downloadlinux-13960b47dc1df695f8537c32a0e0ce5ae5d4eee4.tar.xz
linux-13960b47dc1df695f8537c32a0e0ce5ae5d4eee4.zip
dts: Deprecate ALTR as a vendor prefix
Because most of the vendor prefixes are lower case, deprecate the vendor prefix "ALTR" in place of "altr" for Altera Corp.. Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Ian Campbell <ian.campbell@citrix.com> Cc: devicetree@vger.kernel.org Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/spi/spi-altera.c')
-rw-r--r--drivers/spi/spi-altera.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi-altera.c b/drivers/spi/spi-altera.c
index 81b9adb6e766..7456eef201a6 100644
--- a/drivers/spi/spi-altera.c
+++ b/drivers/spi/spi-altera.c
@@ -302,6 +302,7 @@ static int altera_spi_remove(struct platform_device *dev)
#ifdef CONFIG_OF
static const struct of_device_id altera_spi_match[] = {
{ .compatible = "ALTR,spi-1.0", },
+ { .compatible = "altr,spi-1.0", },
{},
};
MODULE_DEVICE_TABLE(of, altera_spi_match);