From: Wei WANG Date: Sat, 27 Apr 2013 02:49:13 +0000 (+0800) Subject: USB: usb-stor: realtek_cr: Fix compile error X-Git-Tag: v3.10-rc3~26^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c9e55cda44d770ce4e519f9672a4f11e87a2160;p=pandora-kernel.git USB: usb-stor: realtek_cr: Fix compile error To fix the compile error when CONFIG_PM_RUNTIME is not enabled, move the declaration of us out of CONFIG_REALTEK_AUTOPM macro in rts51x_chip. drivers/usb/storage/realtek_cr.c: In function 'realtek_cr_destructor': drivers/usb/storage/realtek_cr.c:942:11: error: 'struct rts51x_chip' has no member named 'us' Signed-off-by: Wei WANG Reported-by: Randy Dunlap Acked-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed