[rtc-linux] Re: [PATCH V7 2/8] mfd: max77620: add core driver for MAX77620/MAX20024
From: Lee Jones <hidden>
Date: 2016-02-01 08:26:00
Also in:
linux-devicetree, linux-gpio, lkml
On Sat, 30 Jan 2016, Laxman Dewangan wrote:
This depends on patch [PATCH V2] mfd: core: add macro for adding mfd cells =20 and due to absence of this patch, it reports the error.
If you have dependencies, why aren't they in this set?
On Saturday 30 January 2016 10:46 PM, kbuild test robot wrote:quoted
Hi Laxman, [auto build test ERROR on pinctrl/for-next] [also build test ERROR on v4.5-rc1 next-20160129] [if your patch is applied to the wrong git tree, please drop us a note t=
o help improving the system]
port-for-MAXIM-MAX77620-MAX20024-PMIC/20160131-005355
ctrl.git for-next
quoted
config: i386-allmodconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=3Di386 All errors (new ones prefixed by >>):quoted
quoted
drivers/mfd/max77620.c:57:2: error: implicit declaration of function '=
DEFINE_MFD_CELL_NAME' [-Werror=3Dimplicit-function-declaration]
quoted
DEFINE_MFD_CELL_NAME("max77620-pinctrl"), ^quoted
quoted
drivers/mfd/max77620.c:57:2: error: initializer element is not constan=
t
quoted
drivers/mfd/max77620.c:57:2: note: (near initialization for 'max7762=
0_children[0].name')
quoted
quoted
quoted
drivers/mfd/max77620.c:58:2: error: implicit declaration of function '=
DEFINE_MFD_CELL_NAME_RESOURCE' [-Werror=3Dimplicit-function-declaration]
quoted
DEFINE_MFD_CELL_NAME_RESOURCE("max77620-gpio", gpio_resources), ^ drivers/mfd/max77620.c:58:2: error: initializer element is not const=
ant
quoted
drivers/mfd/max77620.c:58:2: note: (near initialization for 'max7762=
0_children[0].id')
quoted
drivers/mfd/max77620.c:59:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME("max77620-pmic"), ^ drivers/mfd/max77620.c:59:2: note: (near initialization for 'max7762=
0_children[0].usage_count')
quoted
drivers/mfd/max77620.c:60:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME_RESOURCE("max77620-rtc", rtc_resources), ^ drivers/mfd/max77620.c:60:2: note: (near initialization for 'max7762=
0_children[0].enable')
quoted
drivers/mfd/max77620.c:61:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME_RESOURCE("max77620-power", power_resources), ^ drivers/mfd/max77620.c:61:2: note: (near initialization for 'max7762=
0_children[0].disable')
quoted
drivers/mfd/max77620.c:62:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME("max77620-watchdog"), ^ drivers/mfd/max77620.c:62:2: note: (near initialization for 'max7762=
0_children[0].suspend')
quoted
drivers/mfd/max77620.c:63:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME("max77620-clock"), ^ drivers/mfd/max77620.c:63:2: note: (near initialization for 'max7762=
0_children[0].resume')
quoted
drivers/mfd/max77620.c:64:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME_RESOURCE("max77620-thermal", thermal_resource=
s),
quoted
^ drivers/mfd/max77620.c:64:2: note: (near initialization for 'max7762=
0_children[0].platform_data')
quoted
drivers/mfd/max77620.c:68:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME("max20024-pinctrl"), ^ drivers/mfd/max77620.c:68:2: note: (near initialization for 'max2002=
4_children[0].name')
quoted
drivers/mfd/max77620.c:69:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME_RESOURCE("max20024-gpio", gpio_resources), ^ drivers/mfd/max77620.c:69:2: note: (near initialization for 'max2002=
4_children[0].id')
quoted
drivers/mfd/max77620.c:70:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME("max20024-pmic"), ^ drivers/mfd/max77620.c:70:2: note: (near initialization for 'max2002=
4_children[0].usage_count')
quoted
drivers/mfd/max77620.c:71:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME_RESOURCE("max20024-rtc", rtc_resources), ^ drivers/mfd/max77620.c:71:2: note: (near initialization for 'max2002=
4_children[0].enable')
quoted
drivers/mfd/max77620.c:72:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME_RESOURCE("max20024-power", power_resources), ^ drivers/mfd/max77620.c:72:2: note: (near initialization for 'max2002=
4_children[0].disable')
quoted
drivers/mfd/max77620.c:73:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME("max20024-watchdog"), ^ drivers/mfd/max77620.c:73:2: note: (near initialization for 'max2002=
4_children[0].suspend')
quoted
drivers/mfd/max77620.c:74:2: error: initializer element is not const=
ant
quoted
DEFINE_MFD_CELL_NAME("max20024-clock"), ^ drivers/mfd/max77620.c:74:2: note: (near initialization for 'max2002=
4_children[0].resume')
quoted
cc1: some warnings being treated as errors vim +/DEFINE_MFD_CELL_NAME +57 drivers/mfd/max77620.c 51 REGMAP_IRQ_REG(MAX77620_IRQ_LBT_MBATLOW, 1, MAX77620_IRQ_LBM_MA=
SK),
quoted
52 REGMAP_IRQ_REG(MAX77620_IRQ_LBT_TJALRM1, 1, MAX77620_IRQ_TJALRM=
1_MASK),
quoted
53 REGMAP_IRQ_REG(MAX77620_IRQ_LBT_TJALRM2, 1, MAX77620_IRQ_TJALRM=
2_MASK),
quoted
54 }; 55=09 56 static struct mfd_cell max77620_children[] =3D { > 57 DEFINE_MFD_CELL_NAME("max77620-pinctrl"), > 58 DEFINE_MFD_CELL_NAME_RESOURCE("max77620-gpio", gpio_resources), 59 DEFINE_MFD_CELL_NAME("max77620-pmic"), 60 DEFINE_MFD_CELL_NAME_RESOURCE("max77620-rtc", rtc_resources), 61 DEFINE_MFD_CELL_NAME_RESOURCE("max77620-power", power_resources=
),
quoted
--- 0-DAY kernel test infrastructure Open Source Technology C=
enter
quoted
https://lists.01.org/pipermail/kbuild-all Intel Corpor=
ation
=20
--=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog --=20 --=20 You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. ---=20 You received this message because you are subscribed to the Google Groups "= rtc-linux" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to rtc-linux+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.