From: Michal Nazarewicz Date: Thu, 7 Oct 2010 12:46:15 +0000 (+0200) Subject: USB: gadget: storage: reuse definitions from scsi.h header file X-Git-Tag: v2.6.37-rc1~154^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a6a717ceff67f887b16783ce891f5dcf846f1fc;p=pandora-kernel.git USB: gadget: storage: reuse definitions from scsi.h header file This commit changes storage_common.h, file_storage.c and f_mass_storage.c to use definitions of SCSI commands from scsi/scsi.h file instead of redefining the commands in storage_common.c. scsi/scsi.h header file was missing READ_FORMAT_CAPACITIES and READ_HEADER so this commit also add those to the header. Signed-off-by: Michal Nazarewicz Cc: Alan Stern Cc: James Bottomley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed