]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up 3.14/x86-llvmlinux-fix-incomplete-type-const-struct-x86cpu_device_id.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 May 2016 09:07:10 +0000 (11:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 May 2016 09:07:10 +0000 (11:07 +0200)
queue-3.14/x86-llvmlinux-fix-incomplete-type-const-struct-x86cpu_device_id.patch

index a02115cb2a080ce711509f2c4f53e485fc0f0805..af9dba1d9929f46aad2a2ad2e1a922a204bc8ca5 100644 (file)
@@ -55,15 +55,24 @@ x86cpu_device_id
 Signed-off-by: Behan Webster <behanw@converseincode.com>
 Signed-off-by: Jan-Simon Möller <dl9pf@gmx.de>
 Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+[added vmbus, mei, and rapdio #defines, needed for 3.14 - gregkh]
 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 ---
- include/linux/mod_devicetable.h |    +++++
- 1 file changed, 5 insertions(+)
+ include/linux/mod_devicetable.h |    8 ++++++++
+ 1 file changed, 8 insertions(+)
 
 --- a/include/linux/mod_devicetable.h
 +++ b/include/linux/mod_devicetable.h
-@@ -548,6 +548,11 @@ struct amba_id {
+@@ -398,6 +398,7 @@ struct virtio_device_id {
+ /*
+  * For Hyper-V devices we use the device guid as the id.
+  */
++#define vmbus_device_id hv_vmbus_device_id
+ struct hv_vmbus_device_id {
+       __u8 guid[16];
+       kernel_ulong_t driver_data;     /* Data private to the driver */
+@@ -548,6 +549,11 @@ struct amba_id {
   * See documentation of "x86_match_cpu" for details.
   */
  
@@ -75,3 +84,19 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  struct x86_cpu_id {
        __u16 vendor;
        __u16 family;
+@@ -575,6 +581,7 @@ struct ipack_device_id {
+ #define MEI_CL_MODULE_PREFIX "mei:"
+ #define MEI_CL_NAME_SIZE 32
++#define mei_device_id mei_cl_device_id
+ struct mei_cl_device_id {
+       char name[MEI_CL_NAME_SIZE];
+       kernel_ulong_t driver_info;
+@@ -594,6 +601,7 @@ struct mei_cl_device_id {
+  * Identifies a RapidIO device based on both the device/vendor IDs and
+  * the assembly device/vendor IDs.
+  */
++#define rapidio_device_id rio_device_id
+ struct rio_device_id {
+       __u16 did, vid;
+       __u16 asm_did, asm_vid;