[gpio:gpio-descriptors-regulator 8/8] arch/arm/mach-s3c64xx/mach-crag6410-module.c:356:20: error: 'wm8994_gpiod_table' undeclared here (not in a function); did you mean 'wm5102_gpiod_table'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git gpio-descriptors-regulator
head:   3413d5a29dcb45755d49ae228a802630afd51073
commit: 3413d5a29dcb45755d49ae228a802630afd51073 [8/8] ARM: s3c64xx: Tidy up handling of regulator GPIO lookups
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 3413d5a29dcb45755d49ae228a802630afd51073
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> arch/arm/mach-s3c64xx/mach-crag6410-module.c:356:20: error: 'wm8994_gpiod_table' undeclared here (not in a function); did you mean 'wm5102_gpiod_table'?
       .gpiod_table = &wm8994_gpiod_table },
                       ^~~~~~~~~~~~~~~~~~
                       wm5102_gpiod_table

vim +356 arch/arm/mach-s3c64xx/mach-crag6410-module.c

   310	
   311	static const struct {
   312		u8 id;
   313		u8 rev;
   314		const char *name;
   315		const struct i2c_board_info *i2c_devs;
   316		int num_i2c_devs;
   317		const struct spi_board_info *spi_devs;
   318		int num_spi_devs;
   319	
   320		struct gpiod_lookup_table *gpiod_table;
   321	} gf_mods[] = {
   322		{ .id = 0x01, .rev = 0xff, .name = "1250-EV1 Springbank" },
   323		{ .id = 0x02, .rev = 0xff, .name = "1251-EV1 Jura" },
   324		{ .id = 0x03, .rev = 0xff, .name = "1252-EV1 Glenlivet" },
   325		{ .id = 0x06, .rev = 0xff, .name = "WM8997-6721-CS96-EV1 Lapraoig" },
   326		{ .id = 0x07, .rev = 0xff, .name = "WM5110-6271 Deanston",
   327		  .spi_devs = wm5110_spi_devs,
   328		  .num_spi_devs = ARRAY_SIZE(wm5110_spi_devs) },
   329		{ .id = 0x08, .rev = 0xff, .name = "WM8903-6102 Tamdhu" },
   330		{ .id = 0x09, .rev = 0xff, .name = "WM1811A-6305 Adelphi" },
   331		{ .id = 0x0a, .rev = 0xff, .name = "WM8996-6272 Blackadder" },
   332		{ .id = 0x0b, .rev = 0xff, .name = "WM8994-6235 Benromach" },
   333		{ .id = 0x11, .rev = 0xff, .name = "6249-EV2 Glenfarclas", },
   334		{ .id = 0x14, .rev = 0xff, .name = "6271-EV1 Lochnagar" },
   335		{ .id = 0x15, .rev = 0xff, .name = "6320-EV1 Bells",
   336		  .i2c_devs = wm6230_i2c_devs,
   337		  .num_i2c_devs = ARRAY_SIZE(wm6230_i2c_devs) },
   338		{ .id = 0x21, .rev = 0xff, .name = "1275-EV1 Mortlach" },
   339		{ .id = 0x25, .rev = 0xff, .name = "1274-EV1 Glencadam" },
   340		{ .id = 0x31, .rev = 0xff, .name = "1253-EV1 Tomatin",
   341		  .spi_devs = wm1253_devs, .num_spi_devs = ARRAY_SIZE(wm1253_devs) },
   342		{ .id = 0x32, .rev = 0xff, .name = "XXXX-EV1 Caol Illa" },
   343		{ .id = 0x33, .rev = 0xff, .name = "XXXX-EV1 Oban" },
   344		{ .id = 0x34, .rev = 0xff, .name = "WM0010-6320-CS42 Balblair",
   345		  .spi_devs = balblair_devs,
   346		  .num_spi_devs = ARRAY_SIZE(balblair_devs) },
   347		{ .id = 0x39, .rev = 0xff, .name = "1254-EV1 Dallas Dhu",
   348		  .i2c_devs = wm1254_devs, .num_i2c_devs = ARRAY_SIZE(wm1254_devs) },
   349		{ .id = 0x3a, .rev = 0xff, .name = "1259-EV1 Tobermory",
   350		  .i2c_devs = wm1259_devs, .num_i2c_devs = ARRAY_SIZE(wm1259_devs) },
   351		{ .id = 0x3b, .rev = 0xff, .name = "1255-EV1 Kilchoman",
   352		  .i2c_devs = wm1255_devs, .num_i2c_devs = ARRAY_SIZE(wm1255_devs) },
   353		{ .id = 0x3c, .rev = 0xff, .name = "1273-EV1 Longmorn" },
   354		{ .id = 0x3d, .rev = 0xff, .name = "1277-EV1 Littlemill",
   355		  .i2c_devs = wm1277_devs, .num_i2c_devs = ARRAY_SIZE(wm1277_devs),
 > 356		  .gpiod_table = &wm8994_gpiod_table },
   357		{ .id = 0x3e, .rev = 0, .name = "WM5102-6271-EV1-CS127 Amrut",
   358		  .spi_devs = wm5102_reva_spi_devs,
   359		  .num_spi_devs = ARRAY_SIZE(wm5102_reva_spi_devs),
   360		  .gpiod_table = &wm5102_reva_gpiod_table },
   361		{ .id = 0x3e, .rev = -1, .name = "WM5102-6271-EV1-CS127 Amrut",
   362		  .spi_devs = wm5102_spi_devs,
   363		  .num_spi_devs = ARRAY_SIZE(wm5102_spi_devs),
   364		  .gpiod_table = &wm5102_gpiod_table },
   365		{ .id = 0x3f, .rev = -1, .name = "WM2200-6271-CS90-M-REV1",
   366		  .i2c_devs = wm2200_i2c, .num_i2c_devs = ARRAY_SIZE(wm2200_i2c) },
   367	};
   368	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux