From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mika Westerberg Subject: [PATCH] spi/spidev: Convert to use unified device property API Date: Mon, 29 Dec 2014 11:41:14 +0200 Message-ID: <1419846074-240217-1-git-send-email-mika.westerberg@linux.intel.com> Cc: Mark Brown , Grant Likely , Rob Herring , "Rafael J. Wysocki" , Mika Westerberg , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: This will allow the driver to match using DT compatible property if the device has ACPI _HID of "PRP0001" and accompanying "compatible" property listed in _DSD. Signed-off-by: Mika Westerberg --- drivers/spi/spidev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 6941e04afb8c..f4742fad4307 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -700,7 +700,7 @@ static struct spi_driver spidev_spi_driver = { .driver = { .name = "spidev", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(spidev_dt_ids), + .of_match_table = spidev_dt_ids, }, .probe = spidev_probe, .remove = spidev_remove, -- 2.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html