[renesas-drivers:topic/gen3-latest 941/3738] drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here (not in a function)

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

 



Hi Niklas,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/gen3-latest
head:   5922f3ba5fa117f3a148a87644eb101abf9a1623
commit: c585bda5a818d6c75430e57587c7e529395ddfbf [941/3738] [media] i2c: adv7482: add adv7482 driver
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout c585bda5a818d6c75430e57587c7e529395ddfbf
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from drivers/media/i2c/adv7482.c:15:0:
>> drivers/media/i2c/adv7482.c:1368:25: error: 'adv7482_of_ids' undeclared here (not in a function)
    MODULE_DEVICE_TABLE(of, adv7482_of_ids);
                            ^
   include/linux/module.h:213:21: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern const typeof(name) __mod_##type##__##name##_device_table  \
                        ^~~~
>> include/linux/module.h:213:27: error: '__mod_of__adv7482_of_ids_device_table' aliased to undefined symbol 'adv7482_of_ids'
    extern const typeof(name) __mod_##type##__##name##_device_table  \
                              ^
   drivers/media/i2c/adv7482.c:1368:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(of, adv7482_of_ids);
    ^~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/adv7482.c:807:12: warning: 'adv7482_query_dv_timings' defined but not used [-Wunused-function]
    static int adv7482_query_dv_timings(struct v4l2_subdev *sd,
               ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/adv7482.c:795:12: warning: 'adv7482_g_dv_timings' defined but not used [-Wunused-function]
    static int adv7482_g_dv_timings(struct v4l2_subdev *sd,
               ^~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/adv7482.c:761:12: warning: 'adv7482_s_dv_timings' defined but not used [-Wunused-function]
    static int adv7482_s_dv_timings(struct v4l2_subdev *sd,
               ^~~~~~~~~~~~~~~~~~~~

vim +/adv7482_of_ids +1368 drivers/media/i2c/adv7482.c

  1362	};
  1363	
  1364	static const struct of_device_id adv7482_of_table[] = {
  1365		{ .compatible = "adi,adv7482", },
  1366		{ }
  1367	};
> 1368	MODULE_DEVICE_TABLE(of, adv7482_of_ids);
  1369	
  1370	static struct i2c_driver adv7482_driver = {
  1371		.driver = {

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux