]> err.no Git - linux-2.6/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)
commit095bc335360a51623dd8571839bbf465851a7f4b
treee28c101dd9665b67b137e3e21a8161c1bcf4b898
parent83a07196735dbf371b61d6dffbb7e6a696c633c2
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