From 5ec521ceea29f49f920a679d1899166f0ab695da Mon Sep 17 00:00:00 2001
From: Vicente Bergas <vicencb@users.noreply.github.com>
Date: Thu, 30 May 2019 14:05:11 +0200
Subject: [PATCH] core/linux-aarch64-rc: enable gpio fan module

This driver is used by at least one board:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/boot/dts/rockchip/rk3399-sapphire.dtsi?h=v5.2-rc2#n41
---
 core/linux-aarch64-rc/PKGBUILD | 4 ++--
 core/linux-aarch64-rc/config   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/linux-aarch64-rc/PKGBUILD b/core/linux-aarch64-rc/PKGBUILD
index aea77abc7..a29087219 100644
--- a/core/linux-aarch64-rc/PKGBUILD
+++ b/core/linux-aarch64-rc/PKGBUILD
@@ -11,7 +11,7 @@ _srcname=linux-${_rcver}-rc${_rcrel}
 _kernelname=${pkgbase#linux}
 _desc="AArch64 multi-platform (release candidate)"
 pkgver=${_rcver}.rc${_rcrel}
-pkgrel=1
+pkgrel=2
 arch=('aarch64')
 url="http://www.kernel.org/"
 license=('GPL2')
@@ -34,7 +34,7 @@ md5sums=('bf80c4ab5f475a2c0846340fb9eb6449'
          'eee2e8059822d48f18086f4b36ed30bf'
          '910651d04b2f5fea9889df596b329035'
          'bd11e72a670134a38a75da3435bf8bcb'
-         'b9bb8b23e922f63057386492e3c503f0'
+         'bb0f6fb8c7bc87b4537a03af4642a2be'
          '7f1a96e24f5150f790df94398e9525a3'
          '61c5ff73c136ed07a7aadbf58db3d96a'
          '584777ae88bce2c5659960151b64c7d8'
diff --git a/core/linux-aarch64-rc/config b/core/linux-aarch64-rc/config
index 5b5921009..6128a9d64 100644
--- a/core/linux-aarch64-rc/config
+++ b/core/linux-aarch64-rc/config
@@ -4224,7 +4224,7 @@ CONFIG_SENSORS_GL518SM=m
 CONFIG_SENSORS_GL520SM=m
 CONFIG_SENSORS_G760A=m
 CONFIG_SENSORS_G762=m
-# CONFIG_SENSORS_GPIO_FAN is not set
+CONFIG_SENSORS_GPIO_FAN=m
 # CONFIG_SENSORS_HIH6130 is not set
 CONFIG_SENSORS_IBMAEM=m
 CONFIG_SENSORS_IBMPEX=m