drivers/usb/typec/tipd/tps6598x.h:278:9: error: unknown type name 'irq_handler_t'

kernel test robot <[email protected]> Tue, 28 Jul 2026 04:20:42 +0200
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/intel-lab-lkp/linux/commits/Sasha-Finkelstein/dt-bindings-usb-tps6598x-Add-sn201202x-ACE3/20260728-021733
head:   120b1ba9159f9fe3394ca9ec5dec17ceb36a95b8
commit: 133e6f453965860e6a9335187d55789b988fd111 usb: typec: tipd: Factor out i2c specifics
date:   8 hours ago
config: x86_64-rhel-9.4-bpf (https://download.01.org/0day-ci/archive/20260728/[email protected]/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260728/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   In file included from drivers/usb/typec/tipd/trace.h:15,
                    from drivers/usb/typec/tipd/trace.c:9:
>> drivers/usb/typec/tipd/tps6598x.h:278:9: error: unknown type name 'irq_handler_t'
     278 |         irq_handler_t irq_handler;
         |         ^~~~~~~~~~~~~


vim +/irq_handler_t +278 drivers/usb/typec/tipd/tps6598x.h

   276	
   277	struct tipd_data {
 > 278		irq_handler_t irq_handler;
   279		u64 irq_mask1;
   280		size_t tps_struct_size;
   281		void (*remove)(struct tps6598x *tps);
   282		int (*register_port)(struct tps6598x *tps, struct fwnode_handle *node);
   283		void (*unregister_port)(struct tps6598x *tps);
   284		void (*trace_data_status)(u32 status);
   285		void (*trace_power_status)(u16 status);
   286		void (*trace_status)(u32 status);
   287		int (*apply_patch)(struct tps6598x *tps);
   288		int (*init)(struct tps6598x *tps);
   289		int (*switch_power_state)(struct tps6598x *tps, u8 target_state);
   290		bool (*read_data_status)(struct tps6598x *tps);
   291		int (*reset)(struct tps6598x *tps);
   292		int (*connect)(struct tps6598x *tps, u32 status);
   293	};
   294	

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