Re: [PATCH 01/11] OF: add empty of_device_is_available for !OF

From: Mark Rutland
Date: Thu Mar 21 2013 - 10:18:48 EST


On Wed, Mar 20, 2013 at 10:54:01PM +0000, Rob Herring wrote:
> From: Rob Herring <rob.herring@xxxxxxxxxxx>
>
> Add an empty version of of_device_is_available.
>
> Signed-off-by: Rob Herring <rob.herring@xxxxxxxxxxx>
> ---
> include/linux/of.h | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/include/linux/of.h b/include/linux/of.h
> index a0f1292..6fe655b 100644
> --- a/include/linux/of.h
> +++ b/include/linux/of.h
> @@ -379,6 +379,11 @@ static inline int of_device_is_compatible(const struct device_node *device,
> return 0;
> }
>
> +static inline int of_device_is_available(const struct device_node *device,)

I assume that comma shouldn't be there? ^

Mark.
--
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/