summaryrefstree
path: root/kernel/drivers/usb/notify/host_notify_class.h
blob: 142501935ea836dc6f3ad5c172dbf7fd4691ef87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2020 Samsung Electronics Co. Ltd.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

 /* usb notify layer v3.5 */
#ifndef __LINUX_HOST_NOTIFY_CALSS_H__
#define __LINUX_HOST_NOTIFY_CALSS_H__

#ifdef CONFIG_USB_HOST_NOTIFY
extern int notify_class_init(void);
extern void notify_class_exit(void);
#else
static inline int notify_class_init(void) {return 0; }
static inline void notify_class_exit(void) {}
#endif
#endif