From: Kuninori Morimoto Date: Wed, 1 Feb 2012 00:43:50 +0000 (-0800) Subject: usb: ch9.h: usb_endpoint_maxp() uses __le16_to_cpu() X-Git-Tag: v3.3-rc4~43^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=504b61630ab65296b6c9113cce834574e8cc01de;p=pandora-kernel.git usb: ch9.h: usb_endpoint_maxp() uses __le16_to_cpu() The usb/ch9.h will be installed to /usr/include/linux, and be used from user space. But le16_to_cpu() is only defined for kernel code. Without this patch, user space compile will be broken. Special thanks to Stefan Becker Reported-by: Stefan Becker Signed-off-by: Kuninori Morimoto Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed