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