Kernel  |  3.14

下载     查看原文件
C++程序  |  18行  |  461 B
/*
 * Copyright 2011 Texas Instruments Incorporated
 *
 * This file is licensed under the terms of the GNU General Public License
 * version 2. This program is licensed "as is" without any warranty of any
 * kind, whether express or implied.
 */

#include <linux/init.h>
#include <linux/of_platform.h>

static int __init c6x_device_probe(void)
{
	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
	return 0;
}
core_initcall(c6x_device_probe);