text: /* SPDX-License-Identifier: GPL-2.0-or-later */
  /*
   * i2c.h - definitions for the Linux i2c bus interface
   * Copyright (C) 1995-2000 Simon G. Vogl
   * Copyright (C) 2013-2019 Wolfram Sang <wsa@kernel.org>
   *
   * With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and
   * Frodo Looijaard <frodol@dds.nl>
   */
  #ifndef _KCL_KCL_I2C_H
  #define _KCL_KCL_I2C_H
  
  #include <linux/i2c.h>
  
  #ifdef HAVE_I2C_NEW_CLIENT_DEVICE
  extern struct i2c_client *
  i2c_new_client_device(struct i2c_adapter *adap, struct i2c_board_info const *info);
  #else
  static inline struct i2c_client *
  i2c_new_client_device(struct i2c_adapter *adap, struct i2c_board_info const *info)
  {
  	return i2c_new_device(adap, info);
  }
  #endif
  
  #endif
  