Skip to content

Commit 2688861

Browse files
ukleineknunojsa
authored andcommitted
spi: spidev: restore alphabetic ordering of dt compatibiles
Since commit v6.3-rc1~36^2~44 ("spi: spidev: order compatibles alphabetically") the compatibles are listed in alphabetic order. Restore this ordering. Fixes: d31fa31 ("Merge tag 'xilinx-v2024.1' of https://github.com/Xilinx/linux-xlnx.git") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
1 parent 455592e commit 2688861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spidev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,13 +732,13 @@ static int spidev_of_check(struct device *dev)
732732
}
733733

734734
static const struct of_device_id spidev_dt_ids[] = {
735+
{ .compatible = "adi,swspi", .data = &spidev_of_check },
735736
{ .compatible = "cisco,spi-petra", .data = &spidev_of_check },
736737
{ .compatible = "dh,dhcom-board", .data = &spidev_of_check },
737738
{ .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check },
738739
{ .compatible = "lwn,bk4", .data = &spidev_of_check },
739740
{ .compatible = "menlo,m53cpld", .data = &spidev_of_check },
740741
{ .compatible = "micron,spi-authenta", .data = &spidev_of_check },
741-
{ .compatible = "adi,swspi", .data = &spidev_of_check },
742742
{ .compatible = "rohm,dh2228fv", .data = &spidev_of_check },
743743
{ .compatible = "semtech,sx1301", .data = &spidev_of_check },
744744
{ .compatible = "silabs,em3581", .data = &spidev_of_check },

0 commit comments

Comments
 (0)