Skip to content

Commit 152c1b6

Browse files
committed
rust: regulator: add abstraction to write regulator drivers
Signed-off-by: Fabien Parent <fabien.parent@linaro.org>
1 parent 75ddf1e commit 152c1b6

File tree

3 files changed

+1168
-0
lines changed

3 files changed

+1168
-0
lines changed

rust/bindings/bindings_helper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <linux/refcount.h>
2626
#include <linux/regmap.h>
2727
#include <linux/regulator/consumer.h>
28+
#include <linux/regulator/driver.h>
2829
#include <linux/sched.h>
2930
#include <linux/security.h>
3031
#include <linux/slab.h>

rust/kernel/regulator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
//! SoC Regulators
44
55
pub mod consumer;
6+
pub mod driver;
67

78
use crate::{
89
bindings,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy