Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

of: property: fix typo in io-channels

The property is io-channels and not io-channel. This was effectively
preventing the devlink creation.

Fixes: 8e12257dead7 ("of: property: Add device link support for iommus, mboxes and io-channels")
Cc: stable@vger.kernel.org
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Reviewed-by: Saravana Kannan <saravanak@google.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240123-iio-backend-v7-1-1bff236b8693@analog.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Nuno Sa and committed by
Rob Herring
8f7e9179 adf0c363

+1 -1
+1 -1
drivers/of/property.c
··· 1244 1244 DEFINE_SIMPLE_PROP(interconnects, "interconnects", "#interconnect-cells") 1245 1245 DEFINE_SIMPLE_PROP(iommus, "iommus", "#iommu-cells") 1246 1246 DEFINE_SIMPLE_PROP(mboxes, "mboxes", "#mbox-cells") 1247 - DEFINE_SIMPLE_PROP(io_channels, "io-channel", "#io-channel-cells") 1247 + DEFINE_SIMPLE_PROP(io_channels, "io-channels", "#io-channel-cells") 1248 1248 DEFINE_SIMPLE_PROP(interrupt_parent, "interrupt-parent", NULL) 1249 1249 DEFINE_SIMPLE_PROP(dmas, "dmas", "#dma-cells") 1250 1250 DEFINE_SIMPLE_PROP(power_domains, "power-domains", "#power-domain-cells")