diff options
author | layman <layman@localhost> | 2013-02-25 14:43:42 +0100 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2015-10-11 10:48:38 +0200 |
commit | 3a7062bd2e0be8a422cc373618e9d76d5fd934fc (patch) | |
tree | 854edf10d7f090c13d220a26bbdf7dcac3acaaf2 /net-dialup/martian-modem/files | |
parent | Bump zshrc-mv (diff) | |
download | mv-3a7062bd2e0be8a422cc373618e9d76d5fd934fc.tar.gz mv-3a7062bd2e0be8a422cc373618e9d76d5fd934fc.tar.bz2 mv-3a7062bd2e0be8a422cc373618e9d76d5fd934fc.zip |
martian-modem: fix compilation with kernel-3.8
Diffstat (limited to 'net-dialup/martian-modem/files')
-rw-r--r-- | net-dialup/martian-modem/files/martian-modem-kernel-3.8.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-dialup/martian-modem/files/martian-modem-kernel-3.8.patch b/net-dialup/martian-modem/files/martian-modem-kernel-3.8.patch new file mode 100644 index 00000000..eb138df8 --- /dev/null +++ b/net-dialup/martian-modem/files/martian-modem-kernel-3.8.patch @@ -0,0 +1,22 @@ +--- kmodule/martian.c ++++ kmodule/martian.c +@@ -46,6 +46,19 @@ + #include "../martian.h" + #include "marsio.h" + ++#ifndef __devinit ++#define __devinit ++#endif ++#ifndef __devexit ++#define __devexit ++#endif ++#ifndef __devexit_p ++#define __devexit_p ++#endif ++#ifndef __devinitdata ++#define __devinitdata ++#endif ++ + /***** Driver globals *****/ + + struct proc_dir_entry *martians_proc_dir = NULL; |