[PATCH 1/2] Added support for the MPC8568E MDS board

Benjamin Herrenschmidt benh at kernel.crashing.org
Fri Feb 9 12:45:30 EST 2007


> +static int __init mpc8568_publish_devices(void)
> +{
> +	if (!machine_is(mpc8568_mds))
> +		return 0;
> +
> +	/* Publish the QE devices */
> +	of_platform_bus_probe(NULL,NULL,NULL);
> +
> +	return 0;
> +}
> +device_initcall(mpc8568_publish_devices);

Please provide an explicit list of bus types to of_platform_bus_probe(),
I intend to remove the "default" one.

Ben.





More information about the Linuxppc-dev mailing list