From 605b2e9cc42d6f805ce26fe152ed529c040f29d5 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Thu, 21 Mar 2019 14:33:51 -0500 Subject: Fix callout I2C path In the 5.0 Linux kernel, an I2C device path segment changed: i2c@1e78a000 -> bus@1e78a000 Signed-off-by: Matt Spinler Change-Id: I6eec4ca9d570d7c6eceac0338c88967a78907b48 --- gen_callouts.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_callouts.pl b/gen_callouts.pl index 5398aa5..5083557 100755 --- a/gen_callouts.pl +++ b/gen_callouts.pl @@ -36,7 +36,7 @@ my @inventory = Inventory::getInventory($targets); # paths -my $i2cPath = "/sys/devices/platform/ahb/ahb:apb/ahb:apb:i2c\@1e78a000/1e78a100.i2c-bus/i2c-/-00
"; +my $i2cPath = "/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus\@1e78a000/1e78a100.i2c-bus/i2c-/-00
"; my $fsiMasterPath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/raw"; my $fsiSlavePath = "/sys/devices/platform/gpio-fsi/fsi0/slave\@00:00/00:00:00:0a/fsi1/slave\@:00/raw"; -- cgit v1.2.1