RE: [PATCH 6/7] staging: dwc2: add const to handling of dwc2_core_params

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

 



> From: Matthijs Kooijman [mailto:matthijs@xxxxxxxx]
> Sent: Monday, April 29, 2013 8:06 AM
> 
> From: Stephen Warren <swarren@xxxxxxxxxxxxx>
> 
> Now the functions use proper const annotations, the global variable with
> default params can be marked const, which prevents these values from
> being changed for a specific device (in theory there could be multiple
> controllers with different settings, for example).
> 
> Signed-off-by: Stephen Warren <swarren@xxxxxxxxxxxxx>
> [matthijs@xxxxxxxx: Split patch from bigger patch, marked
> 		    dwc2_module_params in pci.c as const and added
> 		    commit message]
> Signed-off-by: Matthijs Kooijman <matthijs@xxxxxxxx>
> ---
>  drivers/staging/dwc2/core.c | 2 +-
>  drivers/staging/dwc2/hcd.c  | 2 +-
>  drivers/staging/dwc2/hcd.h  | 4 ++--
>  drivers/staging/dwc2/pci.c  | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)

Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" 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]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux