[linusw-nomadik:ux500-janice-v6.18-rc1 9/11] drivers/input/misc/isa1200.c:423:10: error: 'struct i2c_driver' has no member named 'probe_new'

kernel test robot lkp at intel.com
Fri Oct 24 14:25:42 PDT 2025


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-janice-v6.18-rc1
head:   ccd3929e54f44ccae885d803cc472204f661c886
commit: 5e4f8e741997d1d027479597bf5265607888bcb1 [9/11] Input: isa1200 - new driver for Immersion ISA1200
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20251025/202510250509.rKlq3ySg-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251025/202510250509.rKlq3ySg-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510250509.rKlq3ySg-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/input/misc/isa1200.c:423:10: error: 'struct i2c_driver' has no member named 'probe_new'
     423 |         .probe_new = isa1200_probe,
         |          ^~~~~~~~~
>> drivers/input/misc/isa1200.c:423:22: error: initialization of 'const struct i2c_device_id *' from incompatible pointer type 'int (*)(struct i2c_client *)' [-Wincompatible-pointer-types]
     423 |         .probe_new = isa1200_probe,
         |                      ^~~~~~~~~~~~~
   drivers/input/misc/isa1200.c:423:22: note: (near initialization for 'isa1200_i2c_driver.id_table')
   drivers/input/misc/isa1200.c:283:12: note: 'isa1200_probe' declared here
     283 | static int isa1200_probe(struct i2c_client *client)
         |            ^~~~~~~~~~~~~


vim +423 drivers/input/misc/isa1200.c

   416	
   417	static struct i2c_driver isa1200_i2c_driver = {
   418		.driver = {
   419			.name = "isa1200",
   420			.of_match_table = isa1200_of_match,
   421			.pm = &isa1200_pm,
   422		},
 > 423		.probe_new = isa1200_probe,
   424	};
   425	module_i2c_driver(isa1200_i2c_driver);
   426	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the linux-arm-kernel mailing list