From: hayeswang Date: Thu, 4 Dec 2014 02:43:11 +0000 (+0800) Subject: r8152: redefine REALTEK_USB_DEVICE X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9a28c5b4c9a69f3036743bed36902b45dd39f1d;p=pandora-kernel.git r8152: redefine REALTEK_USB_DEVICE Redefine REALTEK_USB_DEVICE for the desired USB interface for probe(). There are three USB interfaces for the device. USB_CLASS_COMM and USB_CLASS_CDC_DATA are for ECM mode (config #2). USB_CLASS_VENDOR_SPEC is for the vendor mode (config #1). However, we are not interesting in USB_CLASS_CDC_DATA for probe(), so redefine REALTEK_USB_DEVICE to ignore the USB interface class of USB_CLASS_CDC_DATA. Signed-off-by: Hayes Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed