diff options
| author | Hans de Goede <[email protected]> | 2024-02-16 20:17:20 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2024-02-20 13:35:35 +0000 |
| commit | 812a79b52b92345d777b6377fa538747d366b6ce (patch) | |
| tree | 15ff63240df71805973aef5100ee4bfd55d95a95 /scripts/generate_rust_target.rs | |
| parent | platform/x86: Add new get_serdev_controller() helper (diff) | |
| download | kernel-812a79b52b92345d777b6377fa538747d366b6ce.tar.gz kernel-812a79b52b92345d777b6377fa538747d366b6ce.zip | |
platform/x86: x86-android-tablets: Fix serdev instantiation no longer working
After commit b286f4e87e32 ("serial: core: Move tty and serdev to be
children of serial core port device") x86_instantiate_serdev() no longer
works due to the serdev-controller-device moving in the device hierarchy
from (e.g.) /sys/devices/pci0000:00/8086228A:00/serial0 to
/sys/devices/pci0000:00/8086228A:00/8086228A:00:0/8086228A:00:0.0/serial0
Use the new get_serdev_controller() helper function to fix this.
Fixes: b286f4e87e32 ("serial: core: Move tty and serdev to be children of serial core port device")
Cc: Tony Lindgren <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
