Merge lp:~blake-rouse/opencompute/mei-dkms into lp:opencompute/mei

Proposed by Blake Rouse
Status: Merged
Approved by: Jeff Lane 
Approved revision: 5
Merged at revision: 4
Proposed branch: lp:~blake-rouse/opencompute/mei-dkms
Merge into: lp:opencompute/mei
Diff against target: 37 lines (+9/-2)
2 files modified
mei-7.1.21.4.S/dkms.conf (+1/-1)
mei-7.1.21.4.S/main.c (+8/-1)
To merge this branch: bzr merge lp:~blake-rouse/opencompute/mei-dkms
Reviewer Review Type Date Requested Status
Jeff Lane  Approve
Review via email: mp+209474@code.launchpad.net

Commit message

Fix for building module on trusty.

Description of the change

Fix for building module on trusty.

To post a comment you must log in.
lp:~blake-rouse/opencompute/mei-dkms updated
5. By Blake Rouse

Added backward support for precise and quantal, also now support saucy.

Revision history for this message
Jeff Lane  (bladernr) wrote :

Hi Blake,

Thanks for submitting this... looks good to me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'mei-7.1.21.4.S/dkms.conf'
--- mei-7.1.21.4.S/dkms.conf 2013-08-04 01:44:16 +0000
+++ mei-7.1.21.4.S/dkms.conf 2014-03-05 15:24:07 +0000
@@ -6,5 +6,5 @@
6MAKE="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"6MAKE="make -C ${kernel_source_dir} SUBDIRS=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build modules"
7CLEAN="make -C clean"7CLEAN="make -C clean"
8AUTOINSTALL=yes8AUTOINSTALL=yes
9BUILD_EXCLUSIVE_KERNEL="3.(2|5).*"9BUILD_EXCLUSIVE_KERNEL="3.(2|5|11|13).*"
10REMAKE_INITRD=yes10REMAKE_INITRD=yes
1111
=== modified file 'mei-7.1.21.4.S/main.c'
--- mei-7.1.21.4.S/main.c 2013-08-04 01:44:16 +0000
+++ mei-7.1.21.4.S/main.c 2014-03-05 15:24:07 +0000
@@ -50,6 +50,13 @@
50#define MEI_DRIVER_NAME "mei"50#define MEI_DRIVER_NAME "mei"
51#define MEI_DEV_NAME "mei"51#define MEI_DEV_NAME "mei"
5252
53/* fix for linux >= 3.8 */
54#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
55#define __devinit
56#define __devexit
57#define __devexit_p(x) x
58#endif
59
53/*60/*
54 * mei driver strings61 * mei driver strings
55 */62 */
@@ -120,7 +127,7 @@
120 * returns 0 on success, <0 on failure.127 * returns 0 on success, <0 on failure.
121 */128 */
122static int __devinit mei_probe(struct pci_dev *pdev,129static int __devinit mei_probe(struct pci_dev *pdev,
123 const struct pci_device_id *ent)130 const struct pci_device_id *ent)
124{131{
125 struct mei_device *dev;132 struct mei_device *dev;
126 int err;133 int err;

Subscribers

People subscribed via source and target branches