summaryrefslogtreecommitdiff
path: root/kernel-devel/module-basics/vain_plat/vain_plat_5.c
blob: d97090e20580de6e692c32bbf79f455746328a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
static const struct of_device_id vain_match[] = {
	{ .compatible = "example,vain", },
	{ /* end of table */ }
};

static struct platform_driver vain_plat_driver = {
	.driver		= {
		.name	= "vain_plat",
		.owner	= THIS_MODULE,
		.of_match_table = vain_match,
	},
	.probe		= vain_plat_probe,
	.remove		= __devexit_p(vain_plat_remove),
};