fsi: master-hub: Fix sparse warnings
authorJoel Stanley <joel@jms.id.au>
Mon, 18 Jun 2018 03:43:34 +0000 (13:13 +0930)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 18 Jun 2018 04:33:56 +0000 (14:33 +1000)
commitfbdb5eac5ca64350333b0aa38c9dca6973d6d3a3
tree609961b557644b9b13460702bf3d3addd12d55d4
parent2992513877d9eada1443d2d70c2c89b77ac2cf2c
fsi: master-hub: Fix sparse warnings

fsi-master-hub.c:128:13: warning: incorrect type in assignment (different base types)
fsi-master-hub.c:128:13:    expected unsigned int [unsigned] [usertype] cmd
fsi-master-hub.c:128:13:    got restricted __be32 [usertype] <noident>
fsi-master-hub.c:208:13: warning: incorrect type in assignment (different base types)
fsi-master-hub.c:208:13:    expected restricted __be32 [addressable] [assigned] [usertype] reg
fsi-master-hub.c:208:13:    got int

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/fsi/fsi-master-hub.c