i2c: s3c2410: Fix pointer type passed to of_match_node()
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Wed, 30 May 2012 09:43:05 +0000 (11:43 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Fri, 13 Jul 2012 08:34:09 +0000 (10:34 +0200)
commitb900ba4c1513a8c9a2fab8dca4cc6f50b17d6861
treeed012f665ac7a0d3fee00fc4c9688c915cf72fbe
parentcd4f2d4aa79ccbb2713f33f9c9f24ed21b5fc8fa
i2c: s3c2410: Fix pointer type passed to of_match_node()

This commit fixes warning introduced in 27452498a ("i2c-s3c2410: Rework
device type handling"):

  drivers/i2c/busses/i2c-s3c2410.c: In function 's3c24xx_get_device_quirks':
  drivers/i2c/busses/i2c-s3c2410.c:125: warning: passing argument 1 of 'of_match_node' from incompatible pointer type
  include/linux/of.h:245: note: expected 'const struct of_device_id *' but argument is of type 'const struct of_device_id (*)[4]'

Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-s3c2410.c