aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rtl838x/files-5.4/drivers/gpio/gpio-rtl838x.c
diff options
context:
space:
mode:
authorBirger Koblitz <git@birger-koblitz.de>2020-10-27 09:12:01 +0100
committerPetr Štetiar <ynezz@true.cz>2020-11-12 18:21:55 +0100
commitfba69a5a3086d37adb3816ab65f2bf372cd099e0 (patch)
tree3b42fea4bf69e00268e61d9d9686bd25843578ef /target/linux/rtl838x/files-5.4/drivers/gpio/gpio-rtl838x.c
parent02e8182d87945729eafe5ce1c7992a0c132eae61 (diff)
downloadupstream-fba69a5a3086d37adb3816ab65f2bf372cd099e0.tar.gz
upstream-fba69a5a3086d37adb3816ab65f2bf372cd099e0.tar.bz2
upstream-fba69a5a3086d37adb3816ab65f2bf372cd099e0.zip
rtl838x: Add switch and ethernet driver support for RTL839x SoCs
This adds support for RTL839x SoCs in the ethernet and switch drivers of the rtl838x architecture. Reviewed-by: Andreas Oberritter <obi@saftware.de> Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
Diffstat (limited to 'target/linux/rtl838x/files-5.4/drivers/gpio/gpio-rtl838x.c')
-rw-r--r--target/linux/rtl838x/files-5.4/drivers/gpio/gpio-rtl838x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/rtl838x/files-5.4/drivers/gpio/gpio-rtl838x.c b/target/linux/rtl838x/files-5.4/drivers/gpio/gpio-rtl838x.c
index 9b1cd3d70c..00098715fb 100644
--- a/target/linux/rtl838x/files-5.4/drivers/gpio/gpio-rtl838x.c
+++ b/target/linux/rtl838x/files-5.4/drivers/gpio/gpio-rtl838x.c
@@ -38,8 +38,6 @@ struct rtl838x_gpios {
int i2c_sdc;
};
-extern struct mutex smi_lock;
-
u32 rtl838x_rtl8231_read(u8 bus_id, u32 reg)
{
u32 t = 0;