mirror of
https://github.com/armbian/build.git
synced 2025-08-09 20:56:57 +02:00
- materialized overwrites: - `add-board-helios64.patch` - `add-board-orangepi-r1-plus.patch` - `add-driver-for-Motorcomm-YT85xx+PHYs.patch` - `add-board-rk3328-roc-pc.patch` - not touched: wifi patches, those still require work before rebase is consistent. - `wifi-4003-uwe5622-adjust-for-rockchip.patch` - this patch is done on top of the wifi drivers patches exclusively, and fails to apply out of tree. - we should probably consider moving this into the wifi drivers patch harness, not in the rockchip tree.
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: The-going <48602507+The-going@users.noreply.github.com>
|
|
Date: Wed, 2 Feb 2022 11:56:51 +0300
|
|
Subject: drv:spi:spidev remove warnings
|
|
|
|
---
|
|
drivers/spi/spidev.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
|
|
index 5a038c667401..86e98cdd2b6d 100644
|
|
--- a/drivers/spi/spidev.c
|
|
+++ b/drivers/spi/spidev.c
|
|
@@ -703,6 +703,7 @@ static const struct file_operations spidev_fops = {
|
|
static struct class *spidev_class;
|
|
|
|
static const struct spi_device_id spidev_spi_ids[] = {
|
|
+ { .name = "spi-dev" },
|
|
{ .name = "dh2228fv" },
|
|
{ .name = "ltc2488" },
|
|
{ .name = "sx1301" },
|
|
@@ -731,6 +732,7 @@ static int spidev_of_check(struct device *dev)
|
|
}
|
|
|
|
static const struct of_device_id spidev_dt_ids[] = {
|
|
+ { .compatible = "armbian,spi-dev", .data = &spidev_of_check },
|
|
{ .compatible = "cisco,spi-petra", .data = &spidev_of_check },
|
|
{ .compatible = "dh,dhcom-board", .data = &spidev_of_check },
|
|
{ .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check },
|
|
--
|
|
Armbian
|
|
|