Skip to content

Commit

Permalink
usb: typec: ucsi: Make UCSI_GLINK select QCOM_PDR_HELPERS
Browse files Browse the repository at this point in the history
If CONFIG_QCOM_PDR_HELPERS has not been selected, we will run into build
issues, such as

    aarch64-linux-gnu-ld: drivers/usb/typec/ucsi/ucsi_glink.o: in function `ucsi_glink_probe':
    ucsi_glink.c:(.text+0x6ec): undefined reference to `pdr_handle_alloc'
    aarch64-linux-gnu-ld: ucsi_glink.c:(.text+0x70c): undefined reference to `pdr_add_lookup'

Make CONFIG_UCSI_GLINK select CONFIG_QCOM_PDR_HELPERS to fix these.

Fixes: cad8e97 ("pmic_glink: Add UCSI/PAN prototype")
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
  • Loading branch information
qzed committed May 31, 2022
1 parent 2653aef commit ceff1b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/typec/ucsi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ config UCSI_ACPI
config UCSI_GLINK
tristate"UCSI GILNK driver"
depends on RPMSG
select QCOM_PDR_HELPERS
help
helpfull

Expand Down

0 comments on commit ceff1b9

Please sign in to comment.