From: Jingoo Han Date: Thu, 1 Aug 2013 02:01:27 +0000 (+0900) Subject: mfd: max8997: Cast void pointer to data of max8997_pmic_dt_match X-Git-Tag: v3.12-rc1~100^2~7^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed6ccdc67f0722dfe817ebb2e16ccc8d2c30187a;p=pandora-kernel.git mfd: max8997: Cast void pointer to data of max8997_pmic_dt_match Casting (void *) data of max8997_pmic_dt_match is necessary, because variable 'data' of struct 'of_device_id' is defined as 'const void *data'. Thus, pointer should be used instead of value. Signed-off-by: Jingoo Han Signed-off-by: Lee Jones --- Reading git-diff-tree failed