kernel_samsung_a34x-permissive/drivers/usb/notify/host_notify_class.h

24 lines
674 B
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2011-2022 Samsung, Inc.
*
* 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.7 */
#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