pmdomain: mediatek: mfg: move __packed after struct name to fix kernel-doc
Subsystems (2)
PATCH 1/1 pmdomain: mediatek: mfg: move __packed after struct name to fix kernel-doc
The kernel-doc parser cannot parse 'struct __packed mtk_mfg_opp_entry {'. Move __packed to the closing brace, which is the more common kernel style.
Assisted-by Opencode:Big-pickle
Signed-off-by Rosen Penev <[email protected]>
--- drivers/pmdomain/mediatek/mtk-mfg-pmdomain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/pmdomain/mediatek/mtk-mfg-pmdomain.c +2 -2
@@ -236,14 +236,14 @@ struct __packed mtk_mfg_ipi_sleep_msg {* * This struct is part of the ABI with the EB firmware. Do not change it. */ -struct __packed mtk_mfg_opp_entry { +struct mtk_mfg_opp_entry {__le32 freq_khz;__le32 voltage_core;__le32 voltage_sram;__le32 posdiv;__le32 voltage_margin;__le32 power_mw; -}; +} __packed;struct mtk_mfg_mbox {struct mbox_client cl;
--
2.54.0
Quoted 6 lines · Rosen Penev
The kernel-doc parser cannot parse 'struct
__packedmtk_mfg_opp_entry{'. Move__packedto the closing brace, which is the more common kernel style.Assisted-by Opencode:Big-pickleSigned-off-by Rosen Penev <[email protected]>
Applied for next, thanks!
Kind regards
Uffe
Quoted 28 lines
--- drivers/pmdomain/mediatek/mtk-mfg-pmdomain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/pmdomain/mediatek/mtk-mfg-pmdomain.c +2
-3@@ -236,14 +236,14 @@ struct __packed mtk_mfg_ipi_sleep_msg {* * This struct is part of the ABI with the EB firmware. Do not change it. */ -struct __packed mtk_mfg_opp_entry { +struct mtk_mfg_opp_entry {__le32 freq_khz;__le32 voltage_core;__le32 voltage_sram;__le32 posdiv;__le32 voltage_margin;__le32 power_mw; -}; +} __packed;struct mtk_mfg_mbox {struct mbox_client cl; --2.54.0