]> git.baikalelectronics.ru Git - kernel.git/commit
USB core: Use const where possible.
authorLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Sun, 27 Aug 2006 02:48:11 +0000 (23:48 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:55 +0000 (11:58 -0700)
commitf288d1e251b15875edd47069beda2c4742bec64d
treee28c101dd9665b67b137e3e21a8161c1bcf4b898
parent30f4b9ca7c3059bf9533dfe5e0fe18501d9a1984
USB core: Use const where possible.

This patch marks some USB core's functions parameters as const. This
improves the design (we're saying to the caller that its parameter is
not going to be modified) and may help in compiler's optimisation work.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c
drivers/usb/core/usb.h
include/linux/usb.h