mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 20:16:49 +02:00
kernel: rpi build fix
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -238,6 +238,7 @@ endif
|
||||
ifeq "$(KCFG)" "-rpi"
|
||||
# Apply Raspberry Pi kernel patches.
|
||||
cd $(DIR_APP) && xzcat $(DIR_DL)/rpi-patches-$(RPI_PATCHES).patch.xz | patch -Np1
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-3.14.79-rpi-suspend-not-inline.patch
|
||||
endif
|
||||
|
||||
ifeq "$(KCFG)" "-headers"
|
||||
|
||||
12
src/patches/linux/linux-3.14.79-rpi-suspend-not-inline.patch
Normal file
12
src/patches/linux/linux-3.14.79-rpi-suspend-not-inline.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur linux-3.14.79.ORG/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c linux-3.14.79/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c
|
||||
--- linux-3.14.79.ORG/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c 2017-06-16 19:58:56.000000000 +0200
|
||||
+++ linux-3.14.79/drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c 2017-06-17 09:32:51.645096482 +0200
|
||||
@@ -1776,7 +1776,7 @@
|
||||
** VC_RESUME_FAILED - Currently unused - no mechanism to fail resume exists.
|
||||
*/
|
||||
|
||||
-inline void
|
||||
+void
|
||||
set_suspend_state(VCHIQ_ARM_STATE_T *arm_state,
|
||||
enum vc_suspend_status new_state)
|
||||
{
|
||||
Reference in New Issue
Block a user