aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2023-10-06 12:03:20 +0200
committerDmitry Torokhov <[email protected]>2023-12-12 21:42:36 -0800
commitf737020d24e47d6e8b893a2fee2b43268a6af629 (patch)
tree80e89378e37163b22a58bceb9490031eaa0de15d /scripts/gdb/linux/modules.py
parent5958274f1de5bcc435a11a92a5d555775c5ed341 (diff)
Input: max77693-haptic - add device-tree compatible strings
Add the needed device-tree compatible strings to the MAX77693 haptic driver, so it can be automatically loaded when compiled as a kernel module and given device-tree contains separate (i.e. 'motor-driver') node under the main PMIC node. When device is instantiated from device-tree, the driver data cannot be read via platform_get_device_id(), so get device type from the parent MFD device instead, what works for both cases. Signed-off-by: Marek Szyprowski <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions