[PATCH 1/2] [MTD] Add support for RAM & ROM mappings in the physmap_of MTD driver.

Segher Boessenkool segher at kernel.crashing.org
Thu Mar 27 01:45:07 EST 2008


>  	{
> +		.compatible	= "physmap-ram",
> +		.data		= (void *)"map_ram",
> +	},
> +	{
> +		.compatible	= "physmap-rom",
> +		.data		= (void *)"map_rom",
> +	},

Why the cast?  It's redundant afaics.


Segher




More information about the Linuxppc-dev mailing list