linux-next: build failure after merge of the clk tree

From: Stephen Rothwell
Date: Sun Apr 02 2023 - 19:59:56 EST


Hi all,

After merging the clk tree, today's linux-next build (x86_64 allmodconfig)
failed like this:

In file included from include/linux/device/driver.h:21,
from include/linux/device.h:32,
from include/linux/platform_device.h:13,
from drivers/clk/mediatek/clk-mt8188-wpe.c:9:
drivers/clk/mediatek/clk-mt8188-wpe.c:91:31: error: 'clk_mt8188_vpp1_id_table' undeclared here (not in a function)
91 | MODULE_DEVICE_TABLE(platform, clk_mt8188_vpp1_id_table);
| ^~~~~~~~~~~~~~~~~~~~~~~~
include/linux/module.h:243:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
243 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~
include/linux/module.h:243:21: error: '__mod_platform__clk_mt8188_vpp1_id_table_device_table' aliased to undefined symbol 'clk_mt8188_vpp1_id_table'
243 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~~~
drivers/clk/mediatek/clk-mt8188-wpe.c:91:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
91 | MODULE_DEVICE_TABLE(platform, clk_mt8188_vpp1_id_table);
| ^~~~~~~~~~~~~~~~~~~

Caused by commit

f42b9e9a43e3 ("clk: mediatek: Add MT8188 wpesys clock support")

I have used the clk tree from next-20230331 for today.

--
Cheers,
Stephen Rothwell

Attachment: pgpX4NFDh16GE.pgp
Description: OpenPGP digital signature