aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/typec/altmodes/displayport.h
blob: e120364da9fd40c6e50c7d094080f51d989d736d (plain) (blame)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: GPL-2.0 */
#if IS_ENABLED(CONFIG_TYPEC_DP_ALTMODE)
int dp_altmode_probe(struct typec_altmode *alt);
void dp_altmode_remove(struct typec_altmode *alt);
#else
int dp_altmode_probe(struct typec_altmode *alt) { return -ENOTSUPP; }
void dp_altmode_remove(struct typec_altmode *alt) { }
#endif /* CONFIG_TYPEC_DP_ALTMODE */