summaryrefstree
path: root/kernel/include/linux/usb/redriver.h
blob: 7b49225820ae7ded3945969c62e5444a05ebe165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 */

#ifndef __LINUX_USB_REDRIVER_H
#define __LINUX_USB_REDRIVER_H

#ifdef CONFIG_USB_REDRIVER

int redriver_release_usb_lanes(struct device_node *node);

#else

static inline int redriver_release_usb_lanes(struct device_node *node)
{
	return 0;
}

#endif

#endif /*__LINUX_USB_REDRIVER_H */