pmaports/device/testing/linux-amazon-mustang/pinctrl-mtk-common.patch
Shana f15fa76d38
amazon-mustang: new device (MR 1263)
Just got done with my second port of postmarketOS, here's the device:
Amazon Fire 7 (2019) postmarketOS
Mediatek MT8163
600x1024 display
1GB RAM
Linux 4.9.77 (downstream kernel)

Untested:
- Wi-Fi
- Audio
Pretty much everything else

Works:
- Boots
- Touchscreen
- Battery percentage seems to show in Xfce
2020-06-08 19:22:10 +03:00

19 lines
813 B
Diff

commit d5a43cdd4e2ce4ee432011501da0fdfa0096ef7e
Author: Shana <devfusediboot@protonmail.com>
Date: Sat May 23 19:07:12 2020 -0700
drivers: pinctrl: mediatek: fix compile error on GCC 6
diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.h b/drivers/pinctrl/mediatek/pinctrl-mtk-common.h
index 7250f25e..83e98b34 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.h
+++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.h
@@ -356,7 +356,7 @@ struct mtk_pinctrl_devdata {
const struct mtk_pin_info *pin_drve8_grps;
unsigned int n_pin_drve8;
#endif
- const const struct mtk_pin_drv_grp *pin_drv_grp;
+ const struct mtk_pin_drv_grp *pin_drv_grp;
unsigned int n_pin_drv_grps;
int (*spec_pull_set)(struct regmap *reg, unsigned int pin,
unsigned char align, bool isup, unsigned int arg);