Created
May 26, 2017 16:13
-
-
Save avinash-palleti/273fda6e5aafc3ed664b22d6942e1d28 to your computer and use it in GitHub Desktop.
Adding Compatible spidev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 3bca98328c1abe674de889ca64f37b0ad60e1e82 Mon Sep 17 00:00:00 2001 | |
From: Avinash Reddy Palleti <avinash.reddy.palleti@intel.com> | |
Date: Fri, 26 May 2017 18:47:15 +0530 | |
Subject: [PATCH] Add compatible spidev | |
--- | |
drivers/spi/spidev.c | 1 + | |
1 file changed, 1 insertion(+) | |
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c | |
index d0e7dfc..57b0760 100644 | |
--- a/drivers/spi/spidev.c | |
+++ b/drivers/spi/spidev.c | |
@@ -695,6 +695,7 @@ static struct class *spidev_class; | |
static const struct of_device_id spidev_dt_ids[] = { | |
{ .compatible = "rohm,dh2228fv" }, | |
{ .compatible = "lineartechnology,ltc2488" }, | |
+ { .compatible = "spidev" }, | |
{}, | |
}; | |
MODULE_DEVICE_TABLE(of, spidev_dt_ids); | |
-- | |
2.7.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment