drivers/gpio/gpiolib-cdev.h

Source file repositories/reference/linux-study-clean/drivers/gpio/gpiolib-cdev.h

File Facts

System
Linux kernel
Corpus path
drivers/gpio/gpiolib-cdev.h
Extension
.h
Size
280 bytes
Lines
14
Domain
Driver Families
Bucket
drivers/gpio
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef GPIOLIB_CDEV_H
#define GPIOLIB_CDEV_H

#include <linux/types.h>

struct gpio_device;

int gpiolib_cdev_register(struct gpio_chip *gc, dev_t devt);
void gpiolib_cdev_unregister(struct gpio_device *gdev);

#endif /* GPIOLIB_CDEV_H */

Annotation

Implementation Notes