mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
kernel: fix amba modules build with gcc6
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
11
src/patches/linux/linux-3.14.79-amba-fix.patch
Normal file
11
src/patches/linux/linux-3.14.79-amba-fix.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -Naur linux-3.14.79.ORG/include/linux/mod_devicetable.h linux-3.14.79/include/linux/mod_devicetable.h
|
||||
--- linux-3.14.79.ORG/include/linux/mod_devicetable.h 2017-06-16 19:58:41.000000000 +0200
|
||||
+++ linux-3.14.79/include/linux/mod_devicetable.h 2017-06-19 19:40:59.374205140 +0200
|
||||
@@ -538,6 +538,7 @@
|
||||
* == id.
|
||||
* @data: Private data used by the driver.
|
||||
*/
|
||||
+#define amba_device_id amba_id
|
||||
struct amba_id {
|
||||
unsigned int id;
|
||||
unsigned int mask;
|
||||
Reference in New Issue
Block a user