Commit
3ae4b7e31cd51af2e2184c640c9f50f574acd449 from Adrian Hunter
has changed onenand_setup prototype in struct omap_onenand_platform_data
causing a compile warning of incompatible pointer type when building
3430sdp kernels.
This is a trivial patch to fix such warning.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
.resource = &sdp_nor_resource,
};
-static int sdp_onenand_setup(void __iomem *);
+static int sdp_onenand_setup(void __iomem *, int freq);
static struct mtd_partition sdp_onenand_partitions[] = {
{
*
* @return int: Currently always returning zero.
*/
-static int sdp_onenand_setup(void __iomem *onenand_base)
+static int sdp_onenand_setup(void __iomem *onenand_base, int freq)
{
/* Onenand setup does nothing at present */
return 0;