Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / microblaze / platform / platform.c
blobb9529caa507af30d38f3a9f58dea81241b73fe25
1 /*
2 * Copyright 2008 Michal Simek <monstr@monstr.eu>
4 * based on virtex.c file
6 * Copyright 2007 Secret Lab Technologies Ltd.
8 * This file is licensed under the terms of the GNU General Public License
9 * version 2. This program is licensed "as is" without any warranty of any
10 * kind, whether express or implied.
13 #include <linux/init.h>
14 #include <linux/of_platform.h>
15 #include <asm/prom.h>
16 #include <asm/setup.h>
18 static struct of_device_id xilinx_of_bus_ids[] __initdata = {
19 { .compatible = "simple-bus", },
20 { .compatible = "xlnx,compound", },
24 static int __init microblaze_device_probe(void)
26 of_platform_bus_probe(NULL, xilinx_of_bus_ids, NULL);
27 of_platform_reset_gpio_probe();
28 return 0;
30 device_initcall(microblaze_device_probe);