FMC: create drivers/fmc and toplevel Kconfig question
[deliverable/linux.git] / drivers / fmc / fmc-core.c
1 /* Temporary placeholder so the empty code can build */
2 #include <linux/kernel.h>
3 #include <linux/module.h>
4 #include <linux/init.h>
5 #include <linux/device.h>
6
7 static struct bus_type fmc_bus_type = {
8 .name = "fmc",
9 };
10
11 static int fmc_init(void)
12 {
13 return bus_register(&fmc_bus_type);
14 }
15
16 static void fmc_exit(void)
17 {
18 bus_unregister(&fmc_bus_type);
19 }
20
21 module_init(fmc_init);
22 module_exit(fmc_exit);
23
24 MODULE_LICENSE("GPL");
This page took 0.03818 seconds and 5 git commands to generate.