blob: cee82a7a215997f938d17671eeb8e2dfd61906eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <linux/types.h>
#include <linux/platform_device.h>
ssize_t attr_show(struct device_driver*, char*);
ssize_t attr_store(struct device_driver*, const char*, size_t);
static struct driver_attribute attr = {
.attr = {
.name = "attr",
.mode = 0644,
},
.show = attr_show,
.store = attr_store,
};
int lork_probe(struct platform_device*);
int lork_remove(struct platform_device*);
|