]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: storagE: realtek_cr: fix sparse warnings
authorFelipe Balbi <balbi@ti.com>
Tue, 15 Nov 2011 07:53:37 +0000 (09:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 18:20:53 +0000 (10:20 -0800)
commitd762ad4792fcdec4d58c5385097083116e47337d
tree0b53f21a48feea29c5e4f3408231290cc6bd26ba
parente2c83f019a2abe48f5faf2fe631e8502adcc70ea
usb: storagE: realtek_cr: fix sparse warnings

Fix the following sparse warnings:

| drivers/usb/storage/realtek_cr.c:821:6: warning: symbol
| 'rts51x_invoke_transport' was not declared. Should
| it be static?
|
| drivers/usb/storage/realtek_cr.c:980:5: warning: symbol
| 'realtek_cr_suspend' was not declared. Should it
| be static?
|
| drivers/usb/storage/realtek_cr.c:518:23: warning: cast
| truncates bits from constant value (fe47 becomes 47)

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/realtek_cr.c