public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [pinctrl:nomadik-multiplatform 16/16] drivers/pinctrl/pinctrl-nomadik.c:1821:15: error: variable 'nm
Date: Sat, 20 Oct 2012 11:03:11 +0000	[thread overview]
Message-ID: <20121020110311.GC5714@localhost> (raw)
In-Reply-To: <20121020110254.GB5714@localhost>

Hi Linus,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git nomadik-multiplatform
head:   2e88a0fdda1be5962b7e548ab487686daa5d9754
commit: 2e88a0fdda1be5962b7e548ab487686daa5d9754 [16/16] ARM: ux500: convert to multiplatorm
config: arm-prima2_defconfig # make ARCH=arm 

All error/warnings:

In file included from drivers/pinctrl/pinctrl-nomadik.c:33:0:
include/linux/mfd/dbx500-prcmu.h:459:19: error: redefinition of 'prcmu_abb_read'
include/linux/mfd/db8500-prcmu.h:673:19: note: previous definition of 'prcmu_abb_read' was here
include/linux/mfd/dbx500-prcmu.h:464:19: error: redefinition of 'prcmu_abb_write'
include/linux/mfd/db8500-prcmu.h:678:19: note: previous definition of 'prcmu_abb_write' was here
include/linux/mfd/dbx500-prcmu.h:475:19: error: redefinition of 'prcmu_config_clkout'
include/linux/mfd/db8500-prcmu.h:643:19: note: previous definition of 'prcmu_config_clkout' was here
include/linux/mfd/dbx500-prcmu.h:537:19: error: redefinition of 'prcmu_ac_wake_req'
include/linux/mfd/db8500-prcmu.h:683:19: note: previous definition of 'prcmu_ac_wake_req' was here
include/linux/mfd/dbx500-prcmu.h:542:20: error: redefinition of 'prcmu_ac_sleep_req'
include/linux/mfd/db8500-prcmu.h:688:20: note: previous definition of 'prcmu_ac_sleep_req' was here
drivers/pinctrl/pinctrl-nomadik.c: In function 'nmk_gpio_disable_lazy_irq':
drivers/pinctrl/pinctrl-nomadik.c:212:2: error: implicit declaration of function 'NOMADIK_GPIO_TO_IRQ' [-Werror=implicit-function-declaration]
drivers/pinctrl/pinctrl-nomadik.c: At top level:
drivers/pinctrl/pinctrl-nomadik.c:1821:15: error: variable 'nmk_pinconf_ops' has initializer but incomplete type
drivers/pinctrl/pinctrl-nomadik.c:1822:2: error: unknown field 'pin_config_get' specified in initializer
drivers/pinctrl/pinctrl-nomadik.c:1822:2: warning: excess elements in struct initializer [enabled by default]
drivers/pinctrl/pinctrl-nomadik.c:1822:2: warning: (near initialization for 'nmk_pinconf_ops') [enabled by default]
drivers/pinctrl/pinctrl-nomadik.c:1823:2: error: unknown field 'pin_config_set' specified in initializer
drivers/pinctrl/pinctrl-nomadik.c:1823:2: warning: excess elements in struct initializer [enabled by default]
drivers/pinctrl/pinctrl-nomadik.c:1823:2: warning: (near initialization for 'nmk_pinconf_ops') [enabled by default]
drivers/pinctrl/pinctrl-nomadik.c:660:12: warning: 'nmk_prcm_gpiocr_get_mode' defined but not used [-Wunused-function]
cc1: some warnings being treated as errors

vim +1821 drivers/pinctrl/pinctrl-nomadik.c

d41af627 Linus Walleij 2012-05-03  1805  		/* No glitch when going to GPIO mode */
d41af627 Linus Walleij 2012-05-03  1806  		__nmk_gpio_set_mode(nmk_chip, bit, NMK_GPIO_ALT_GPIO);
d41af627 Linus Walleij 2012-05-03  1807  	if (output)
d41af627 Linus Walleij 2012-05-03  1808  		__nmk_gpio_make_output(nmk_chip, bit, val);
d41af627 Linus Walleij 2012-05-03  1809  	else {
d41af627 Linus Walleij 2012-05-03  1810  		__nmk_gpio_make_input(nmk_chip, bit);
d41af627 Linus Walleij 2012-05-03  1811  		__nmk_gpio_set_pull(nmk_chip, bit, pull);
d41af627 Linus Walleij 2012-05-03  1812  	}
d41af627 Linus Walleij 2012-05-03  1813  	/* TODO: isn't this only applicable on output pins? */
d41af627 Linus Walleij 2012-05-03  1814  	__nmk_gpio_set_lowemi(nmk_chip, bit, lowemi);
d41af627 Linus Walleij 2012-05-03  1815  
d41af627 Linus Walleij 2012-05-03  1816  	__nmk_gpio_set_slpm(nmk_chip, bit, slpm);
d41af627 Linus Walleij 2012-05-03  1817  	clk_disable(nmk_chip->clk);
d41af627 Linus Walleij 2012-05-03  1818  	return 0;
d41af627 Linus Walleij 2012-05-03  1819  }
d41af627 Linus Walleij 2012-05-03  1820  
d41af627 Linus Walleij 2012-05-03 @1821  static struct pinconf_ops nmk_pinconf_ops = {
d41af627 Linus Walleij 2012-05-03  1822  	.pin_config_get = nmk_pin_config_get,
d41af627 Linus Walleij 2012-05-03  1823  	.pin_config_set = nmk_pin_config_set,
d41af627 Linus Walleij 2012-05-03  1824  };
d41af627 Linus Walleij 2012-05-03  1825  
e98ea774 Linus Walleij 2012-04-26  1826  static struct pinctrl_desc nmk_pinctrl_desc = {
e98ea774 Linus Walleij 2012-04-26  1827  	.name = "pinctrl-nomadik",
e98ea774 Linus Walleij 2012-04-26  1828  	.pctlops = &nmk_pinctrl_ops,
dbfe8ca2 Linus Walleij 2012-05-02  1829  	.pmxops = &nmk_pinmux_ops,

The code at line 1821 was first introduced by commit:
d41af62 pinctrl/nomadik: implement pin configuration


---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

  reply	other threads:[~2012-10-20 11:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-20 11:02 [pinctrl:nomadik-multiplatform 16/16] drivers/pinctrl/pinctrl-nomadik.c:212:2: error: implicit decla Fengguang Wu
2012-10-20 11:03 ` Fengguang Wu [this message]
2012-10-20 11:03 ` [pinctrl:nomadik-multiplatform 16/16] drivers/pinctrl/pinctrl-nomadik.c:1705:15: error: variable 'nm Fengguang Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121020110311.GC5714@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox