Re: [PATCH v4 3/5] mfd: tps65912: Add driver for the TPS65912 PMIC
From: kbuild test robot
Date: Thu Oct 01 2015 - 16:58:19 EST
Hi Andrew,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]
config: tile-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d617dea974adf7dc262f2d49dea24a673e0403e2
# save the attached .config to linux build tree
make.cross ARCH=tile
All warnings (new ones prefixed by >>):
drivers/mfd/tps65912-core.c:29:2: error: implicit declaration of function 'REGMAP_IRQ_REG'
drivers/mfd/tps65912-core.c:29:2: warning: missing braces around initializer
>> drivers/mfd/tps65912-core.c:29:2: warning: (near initialization for
drivers/mfd/tps65912-core.c:29:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:29:2: error: (near initialization for
drivers/mfd/tps65912-core.c:30:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:30:2: error: (near initialization for
drivers/mfd/tps65912-core.c:31:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:31:2: error: (near initialization for
drivers/mfd/tps65912-core.c:32:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:32:2: error: (near initialization for
drivers/mfd/tps65912-core.c:33:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:33:2: error: (near initialization for
drivers/mfd/tps65912-core.c:34:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:34:2: error: (near initialization for
drivers/mfd/tps65912-core.c:35:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:35:2: error: (near initialization for
drivers/mfd/tps65912-core.c:36:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:36:2: error: (near initialization for
drivers/mfd/tps65912-core.c:38:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:38:2: error: (near initialization for
drivers/mfd/tps65912-core.c:39:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:39:2: error: (near initialization for
drivers/mfd/tps65912-core.c:40:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:40:2: error: (near initialization for
drivers/mfd/tps65912-core.c:41:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:41:2: error: (near initialization for
drivers/mfd/tps65912-core.c:42:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:42:2: error: (near initialization for
drivers/mfd/tps65912-core.c:43:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:43:2: error: (near initialization for
drivers/mfd/tps65912-core.c:44:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:44:2: error: (near initialization for
drivers/mfd/tps65912-core.c:45:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:45:2: error: (near initialization for
drivers/mfd/tps65912-core.c:47:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:47:2: error: (near initialization for
drivers/mfd/tps65912-core.c:48:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:48:2: error: (near initialization for
drivers/mfd/tps65912-core.c:49:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:49:2: error: (near initialization for
drivers/mfd/tps65912-core.c:50:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:50:2: error: (near initialization for
drivers/mfd/tps65912-core.c:51:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:51:2: error: (near initialization for
drivers/mfd/tps65912-core.c:52:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:52:2: error: (near initialization for
drivers/mfd/tps65912-core.c:53:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:53:2: error: (near initialization for
drivers/mfd/tps65912-core.c:54:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:54:2: error: (near initialization for
drivers/mfd/tps65912-core.c:56:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:56:2: error: (near initialization for
drivers/mfd/tps65912-core.c:57:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:57:2: error: (near initialization for
drivers/mfd/tps65912-core.c:58:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:58:2: error: (near initialization for
drivers/mfd/tps65912-core.c:59:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:59:2: error: (near initialization for
drivers/mfd/tps65912-core.c:60:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:60:2: error: (near initialization for
drivers/mfd/tps65912-core.c:61:2: error: initializer element is not constant
drivers/mfd/tps65912-core.c:61:2: error: (near initialization for
cc1: some warnings being treated as errors
vim +29 drivers/mfd/tps65912-core.c
13 * kind, whether expressed or implied; without even the implied warranty
14 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License version 2 for more details.
16 *
17 * Based on the TPS65218 driver and the previous TPS65912 driver by
18 * Margarita Olaya Cabrera <magi@xxxxxxxxxxxxxxx>
19 */
20
21 #include <linux/interrupt.h>
22 #include <linux/module.h>
23 #include <linux/of_device.h>
24
25 #include <linux/mfd/tps65912.h>
26
27 static const struct regmap_irq tps65912_irqs[] = {
28 /* INT_STS IRQs */
> 29 REGMAP_IRQ_REG(TPS65912_IRQ_PWRHOLD_F, 0, TPS65912_INT_STS_PWRHOLD_F),
30 REGMAP_IRQ_REG(TPS65912_IRQ_VMON, 0, TPS65912_INT_STS_VMON),
31 REGMAP_IRQ_REG(TPS65912_IRQ_PWRON, 0, TPS65912_INT_STS_PWRON),
32 REGMAP_IRQ_REG(TPS65912_IRQ_PWRON_LP, 0, TPS65912_INT_STS_PWRON_LP),
33 REGMAP_IRQ_REG(TPS65912_IRQ_PWRHOLD_R, 0, TPS65912_INT_STS_PWRHOLD_R),
34 REGMAP_IRQ_REG(TPS65912_IRQ_HOTDIE, 0, TPS65912_INT_STS_HOTDIE),
35 REGMAP_IRQ_REG(TPS65912_IRQ_GPIO1_R, 0, TPS65912_INT_STS_GPIO1_R),
36 REGMAP_IRQ_REG(TPS65912_IRQ_GPIO1_F, 0, TPS65912_INT_STS_GPIO1_F),
37 /* INT_STS2 IRQs */
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data