Re: [PATCH v5 7/9] of: spi: Export single device registration method and accessors

From: Zhenghui Zhou
Date: Tue Jul 01 2014 - 07:36:12 EST


Pantelis Antoniou <pantelis.antoniou <at> konsulko.com> writes:

> +static struct spi_device *
> +of_register_spi_device(struct spi_master *master, struct device_node *node)
> +{
> + struct spi_device *spi;
> + struct device_node *nc;

Should there be:

of_register_spi_device(struct spi_master *master, struct device_node *nc)
{
struct spi_device *spi;




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/