summaryrefslogtreecommitdiffstats
path: root/drivers/fmc/fmc-core.c
blob: fc3547f32d5e9d609880028299b07ca99df178a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Temporary placeholder so the empty code can build */
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>

static struct bus_type fmc_bus_type = {
	.name = "fmc",
};

static int fmc_init(void)
{
	return bus_register(&fmc_bus_type);
}

static void fmc_exit(void)
{
	bus_unregister(&fmc_bus_type);
}

module_init(fmc_init);
module_exit(fmc_exit);

MODULE_LICENSE("GPL");