diff options
author | Hans de Goede <hdegoede@redhat.com> | 2024-02-16 21:17:20 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-02-20 14:35:35 +0100 |
commit | 812a79b52b92345d777b6377fa538747d366b6ce (patch) | |
tree | 15ff63240df71805973aef5100ee4bfd55d95a95 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | dc5afd720f84de3c1f5d700eb0b858006a2dc468 (diff) |
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 <tony@atomide.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240216201721.239791-4-hdegoede@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions