Patrick Delaunay | fcb6b0b | 2020-06-29 10:34:06 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* | ||||
3 | * Copyright (C) 2020, STMicroelectronics | ||||
4 | */ | ||||
5 | |||||
6 | #ifdef CONFIG_TYPEC_STUSB160X | ||||
7 | int stusb160x_cable_connected(void); | ||||
8 | #else | ||||
9 | int stusb160x_cable_connected(void) { return -ENODEV; } | ||||
10 | #endif |