aboutsummaryrefslogtreecommitdiff
path: root/driver/main.h
blob: a0ef924800d0bd8f88429b24662ba02c1d4cc44c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <linux/of.h>
#include <linux/platform_device.h>

#include "platform.h"

static const struct of_device_id lork_ids[] = {
	{ .compatible = "gpio-extern" },
	{},
};

struct platform_driver lork_driver = {
	.probe = lork_probe,
	.remove = lork_remove,
	.driver = {
		.name = "gpio-extern",
		.owner = THIS_MODULE,
		.of_match_table = of_match_ptr(lork_ids),
	}
};