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

Stephen Rothwell
2012-11-26T06:09:31Z

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

Hi Rafael,

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

drivers/devfreq/governor_simpleondemand.c: In function 'devfreq_simple_ondemand_func':
drivers/devfreq/governor_simpleondemand.c:36:11: error: dereferencing pointer to incomplete type
drivers/devfreq/governor_simpleondemand.c:37:27: error: dereferencing pointer to incomplete type
drivers/devfreq/governor_simpleondemand.c:38:11: error: dereferencing pointer to incomplete type
drivers/devfreq/governor_simpleondemand.c:39:32: error: dereferencing pointer to incomplete type

Caused by commit eff607fdb1f7 ("PM / devfreq: governors: add GPL module
license and allow module build"). The definition of struct
devfreq_simple_ondemand_data depends on
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND, but this is a modular build, so
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND_MODULE is defined instead.

I have used the pm tree fomr next-20121115 for today.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]