include/linux/platform_data/cros_usbpd_notify.h

Source file repositories/reference/linux-study-clean/include/linux/platform_data/cros_usbpd_notify.h

File Facts

System
Linux kernel
Corpus path
include/linux/platform_data/cros_usbpd_notify.h
Extension
.h
Size
436 bytes
Lines
18
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0-only
/*
 * ChromeOS EC Power Delivery Notifier Driver
 *
 * Copyright 2020 Google LLC
 */

#ifndef __LINUX_PLATFORM_DATA_CROS_USBPD_NOTIFY_H
#define __LINUX_PLATFORM_DATA_CROS_USBPD_NOTIFY_H

#include <linux/notifier.h>

int cros_usbpd_register_notify(struct notifier_block *nb);

void cros_usbpd_unregister_notify(struct notifier_block *nb);

#endif  /* __LINUX_PLATFORM_DATA_CROS_USBPD_NOTIFY_H */

Annotation

Implementation Notes