Re: [PATCH 09/13] Input: auo-pixcir-ts - Make of_device_id array const

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mittwoch, 7. Mai 2014, 18:22:10 schrieb Jingoo Han:
> Make of_device_id array const, because all OF functions
> handle it as const.
> 
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
Acked-by: Heiko Stuebner <heiko@xxxxxxxxx>

> ---
>  drivers/input/touchscreen/auo-pixcir-ts.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c
> b/drivers/input/touchscreen/auo-pixcir-ts.c index d3f9f6b..7f3c947 100644
> --- a/drivers/input/touchscreen/auo-pixcir-ts.c
> +++ b/drivers/input/touchscreen/auo-pixcir-ts.c
> @@ -679,7 +679,7 @@ static const struct i2c_device_id auo_pixcir_idtable[] =
> { MODULE_DEVICE_TABLE(i2c, auo_pixcir_idtable);
> 
>  #ifdef CONFIG_OF
> -static struct of_device_id auo_pixcir_ts_dt_idtable[] = {
> +static const struct of_device_id auo_pixcir_ts_dt_idtable[] = {
>  	{ .compatible = "auo,auo_pixcir_ts" },
>  	{},
>  };

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




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux