]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-mc: fix incorrect type passed to dev_dbg macros
authorCihangir Akturk <cakturk@gmail.com>
Mon, 14 Mar 2016 16:14:06 +0000 (18:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 23 Mar 2016 02:22:13 +0000 (22:22 -0400)
commitc94eeaba45f22b365f071e5a0b107f25c9dcfec0
treec7c31744a484bcd3fda35fb452b0d145fcee6b57
parent9291e9dd75d72cf1064b51b8b62e47da7df97c44
staging: fsl-mc: fix incorrect type passed to dev_dbg macros

dev_dbg macros expect const struct device ** as its second
argument but here the argument we are passing is of type
struct device ** this patch fixes this error.

Fixes: 8b40be505172 ("Staging: fsl-mc: Replace pr_debug with dev_dbg")
Cc: Bhumika Goyal <bhumirks@gmail.com>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-sys.c