host_notify_class.h 674 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2011-2023 Samsung, Inc.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. */
  10. /* usb notify layer v4.0 */
  11. #ifndef __LINUX_HOST_NOTIFY_CALSS_H__
  12. #define __LINUX_HOST_NOTIFY_CALSS_H__
  13. #ifdef CONFIG_USB_HOST_NOTIFY
  14. extern int notify_class_init(void);
  15. extern void notify_class_exit(void);
  16. #else
  17. static inline int notify_class_init(void) {return 0; }
  18. static inline void notify_class_exit(void) {}
  19. #endif
  20. #endif