Subject: Re: linux-next: build failure after merge of the pwm tree

From: Stephen Rothwell <[email-masked]>
Date: Sat, 12 Jan 2019 17:08:59 +1100

Hi all,

On Sat, 12 Jan 2019 17:01:17 +1100 Stephen Rothwell <[email-masked]> wrote:
>
> [Reported by "kernelci.org bot" <[email-masked]>]

[Also reported by Mark Brown <[email-masked]>]

> 
> After merging the pwm tree, today's linux-next build (arm64-allmodconfig)
> failed like this:
> 
> In file included from drivers/pwm/pwm-imx27.c:15:
> drivers/pwm/pwm-imx27.c:292:25: error: 'imx_pwm_dt_ids' undeclared here (not in a function); did you mean 'pwm_imx27_dt_ids'?
>  MODULE_DEVICE_TABLE(of, imx_pwm_dt_ids);
>                          ^~~~~~~~~~~~~~
> include/linux/module.h:213:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
>  extern typeof(name) __mod_##type##__##name##_device_table  \
>                ^~~~
> include/linux/module.h:213:21: error: '__mod_of__imx_pwm_dt_ids_device_table' aliased to undefined symbol 'imx_pwm_dt_ids'
>  extern typeof(name) __mod_##type##__##name##_device_table  \
>                      ^~~~~~
> drivers/pwm/pwm-imx27.c:292:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
>  MODULE_DEVICE_TABLE(of, imx_pwm_dt_ids);
> 
> Caused by commit
> 
>   5a309d380019 ("pwm: imx: Split into two drivers")

-- 
Cheers,
Stephen Rothwell