Skip to contentSkip to conversation

spi: spi-mtk-nor: make some internal variables static

PATCH In review [email protected] 3 participants 4 messages Jan 26, 2022 – Jan 28, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: spi-mtk-nor: make some internal variables static

From: Guochun Mao <[email protected]>

Variables mtk_nor_caps_mt8173, mtk_nor_caps_mt8186 and mtk_nor_caps_mt8192 are not declared.
Make them static.

Fixes 5b177234e9fd ("spi: spi-mtk-nor: improve device table for adding more capabilities")
---
 drivers/spi/spi-mtk-nor.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/spi/spi-mtk-nor.c +3 -3
index 455b4dcb26e9..94fb09696677 100644
@@ -770,17 +770,17 @@ static const struct spi_controller_mem_ops mtk_nor_mem_ops = {
 	.exec_op = mtk_nor_exec_op
 };
 
-const struct mtk_nor_caps mtk_nor_caps_mt8173 = {
+static const struct mtk_nor_caps mtk_nor_caps_mt8173 = {
 	.dma_bits = 32,
 	.extra_dummy_bit = 0,
 };
 
-const struct mtk_nor_caps mtk_nor_caps_mt8186 = {
+static const struct mtk_nor_caps mtk_nor_caps_mt8186 = {
 	.dma_bits = 32,
 	.extra_dummy_bit = 1,
 };
 
-const struct mtk_nor_caps mtk_nor_caps_mt8192 = {
+static const struct mtk_nor_caps mtk_nor_caps_mt8192 = {
 	.dma_bits = 36,
 	.extra_dummy_bit = 0,
 };
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 8 lines · On Wed, 26 Jan 2022 17:11:59 +0800, [email protected] wrote:

From: Guochun Mao <[email protected]>

Variables mtk_nor_caps_mt8173, mtk_nor_caps_mt8186 and mtk_nor_caps_mt8192 are not declared.
Make them static.

[...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: spi-mtk-nor: make some internal variables static

      commit: 474fc2e6395d62758e80b9ea65f61339296355fc

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

#2 lore raw

Hi,

Thank you very much.

BR,
Guochun

Quoted 44 lines · Mark Brown
Quoted 8 lines · On Wed, 26 Jan 2022 17:11:59 +0800, [email protected] wrote:

From: Guochun Mao <[email protected]>

Variables mtk_nor_caps_mt8173, mtk_nor_caps_mt8186 and mtk_nor_caps_mt8192 are not declared.
Make them static.

[...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
for-next

Thanks!

[1/1] spi: spi-mtk-nor: make some internal variables static

      commit: 474fc2e6395d62758e80b9ea65f61339296355fc

All being well this means that it will be integrated into the linux- next
tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

maintainer Reviewed-by on v1 1/1
#3 lore raw
In reply to [email protected]

Il 26/01/22 10:11, [email protected] ha scritto:

Quoted 9 lines

From: Guochun Mao <[email protected]>

Variables mtk_nor_caps_mt8173, mtk_nor_caps_mt8186 and mtk_nor_caps_mt8192 are not declared.
Make them static.

Fixes 5b177234e9fd ("spi: spi-mtk-nor: improve device table for adding more capabilities")