Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save HiFiPhile/547b4520c5367ec7c0fd590f9a8afa3d to your computer and use it in GitHub Desktop.
Save HiFiPhile/547b4520c5367ec7c0fd590f9a8afa3d to your computer and use it in GitHub Desktop.
Adding Compatible spidev
From 3bca98328c1abe674de889ca64f37b0ad60e1e82 Mon Sep 17 00:00:00 2001
From: Avinash Reddy Palleti <[email protected]>
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