コード例 #1
0
ファイル: sama5.c プロジェクト: 01org/prd
static void __init sama5_dt_device_init(void)
{
	struct soc_device *soc;
	struct device *soc_dev = NULL;

	soc = at91_soc_init(sama5_socs);
	if (soc != NULL)
		soc_dev = soc_device_to_device(soc);

	of_platform_populate(NULL, of_default_bus_match_table, NULL, soc_dev);
	at91sam9x5_pm_init();
}
コード例 #2
0
static void __init at91rm9200_dt_device_init(void)
{
	struct soc_device *soc;
	struct device *soc_dev = NULL;

	soc = at91_soc_init(rm9200_socs);
	if (soc != NULL)
		soc_dev = soc_device_to_device(soc);

	of_platform_default_populate(NULL, NULL, soc_dev);

	at91rm9200_pm_init();
}
コード例 #3
0
ファイル: soc.c プロジェクト: Lyude/linux
static int __init atmel_soc_device_init(void)
{
	at91_soc_init(socs);

	return 0;
}