Re: [PATCH 31/35] wireless: realtek: rtl8187: constify usb_device_id
From: Hin-Tak Leung
Date: Fri Aug 25 2017 - 17:05:35 EST
--------------------------------------------
On Tue, 8/8/17, Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> wrote:
Subject: [PATCH 31/35] wireless: realtek: rtl8187: constify usb_device_id
To: kvalo@xxxxxxxxxxxxxx, herton@xxxxxxxxxxxxx, htl10@xxxxxxxxxxxxxxxxxxxxx, Larry.Finger@xxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, linux-wireless@xxxxxxxxxxxxxxx
Date: Tuesday, 8 August, 2017, 17:04
> usb_device_id are not supposed to change at
> runtime. All functions
> working with usb_device_id provided by
> <linux/usb.h> work with
> const usb_device_id. So mark the
> non-const structs as const.
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
Acked-by: htl10@xxxxxxxxxxxxxxxxxxxxx