xref: /linux/include/linux/platform_data/cros_usbpd_notify.h (revision ead5d1f4d877e92c051e1a1ade623d0d30e71619)
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