Re: [PATCH v6 1/2] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

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

 



Hi Meghana,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.14-rc3 next-20170929]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Meghana-Madhyastha/drm-tinydrm-drm_of_find_backlight-helper/20171003-011920
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: arm-sunxi_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/drm_of.c:283:26: error: redefinition of 'drm_of_find_backlight'
    struct backlight_device *drm_of_find_backlight(struct device *dev)
                             ^~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/drm_of.c:4:0:
   include/linux/backlight.h:180:1: note: previous definition of 'drm_of_find_backlight' was here
    drm_of_find_backlight(struct device *dev)
    ^~~~~~~~~~~~~~~~~~~~~

vim +/drm_of_find_backlight +283 drivers/gpu/drm/drm_of.c

   264	
   265	/**
   266	 * drm_of_find_backlight - Find backlight device in device-tree
   267	 * @dev: Device
   268	 *
   269	 * This function looks for a DT node pointed to by a property named 'backlight'
   270	 * and uses of_find_backlight_by_node() to get the backlight device.
   271	 * Additionally if the brightness property is zero, it is set to
   272	 * max_brightness.
   273	 *
   274	 * Note: It is the responsibility of the caller to call put_device() when
   275	 * releasing the resource.
   276	 *
   277	 * Returns:
   278	 * NULL if there's no backlight property.
   279	 * Error pointer -EPROBE_DEFER if the DT node is found, but no backlight device
   280	 * is found.
   281	 * If the backlight device is found, a pointer to the structure is returned.
   282	 */
 > 283	struct backlight_device *drm_of_find_backlight(struct device *dev)

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux