xref: /openbmc/linux/include/linux/platform_data/cros_usbpd_notify.h (revision 6246ed09111fbb17168619006b4380103c6673c3)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * ChromeOS EC Power Delivery Notifier Driver
4  *
5  * Copyright 2020 Google LLC
6  */
7 
8 #ifndef __LINUX_PLATFORM_DATA_CROS_USBPD_NOTIFY_H
9 #define __LINUX_PLATFORM_DATA_CROS_USBPD_NOTIFY_H
10 
11 #include <linux/notifier.h>
12 
13 int cros_usbpd_register_notify(struct notifier_block *nb);
14 
15 void cros_usbpd_unregister_notify(struct notifier_block *nb);
16 
17 #endif  /* __LINUX_PLATFORM_DATA_CROS_USBPD_NOTIFY_H */
18