static struct of_device_id mpc834x_itx[] = { { .compatible = "talitos", }, {}, }; static int __init mpc834x_itx_declare_of_platform_devices(void) { if (!machine_is(mpc834x_itx)) return 0; of_platform_bus_probe(NULL, mpc834x_itx, NULL); return 0; } device_initcall(mpc834x_itx_declare_of_platform_devices);