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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 12 Jan 2015 16:02:58 +1100

Hi Linus,

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

drivers/pinctrl/pinconf-generic.c: In function 'pinconf_generic_dump_pins':
drivers/pinctrl/pinconf-generic.c:116:19: error: 'struct pinctrl_desc' has no member named 'num_dt_params'
  if (pctldev->desc->num_dt_params && pctldev->desc->conf_items)
                   ^
drivers/pinctrl/pinconf-generic.c:116:51: error: 'struct pinctrl_desc' has no member named 'conf_items'
  if (pctldev->desc->num_dt_params && pctldev->desc->conf_items)
                                                   ^
drivers/pinctrl/pinconf-generic.c:118:20: error: 'struct pinctrl_desc' has no member named 'conf_items'
       pctldev->desc->conf_items,
                    ^
drivers/pinctrl/pinconf-generic.c:119:20: error: 'struct pinctrl_desc' has no member named 'num_dt_params'
       pctldev->desc->num_dt_params);
                    ^
drivers/pinctrl/pinconf-generic.c: In function 'pinconf_generic_dump_config':
drivers/pinctrl/pinconf-generic.c:134:20: error: 'struct pinctrl_desc' has no member named 'num_dt_params'
  if (!pctldev->desc->num_dt_params || !pctldev->desc->conf_items)
                    ^
drivers/pinctrl/pinconf-generic.c:134:53: error: 'struct pinctrl_desc' has no member named 'conf_items'
  if (!pctldev->desc->num_dt_params || !pctldev->desc->conf_items)
                                                     ^
drivers/pinctrl/pinconf-generic.c:137:31: error: 'struct pinctrl_desc' has no member named 'num_dt_params'
  for (i = 0; i < pctldev->desc->num_dt_params; i++) {
                               ^
drivers/pinctrl/pinconf-generic.c:138:55: error: 'struct pinctrl_desc' has no member named 'conf_items'
   if (pinconf_to_config_param(config) != pctldev->desc->conf_items[i].param)
                                                       ^
drivers/pinctrl/pinconf-generic.c:140:42: error: 'struct pinctrl_desc' has no member named 'conf_items'
   seq_printf(s, "%s: 0x%x", pctldev->desc->conf_items[i].display,
                                          ^

Caused by commit dd4d01f7bad8 ("pinctrl: pinconf-generic: Allow driver
to specify DT params").  This build does not have CONFIG_OF set.

I have used the pinctrl tree from next-20150109 for today.
-- 
Cheers,
Stephen Rothwell                    [email-masked]