OSDN Git Service

soc: fsl: dpio: Change bpid type to u16
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Fri, 14 Dec 2018 16:04:06 +0000 (16:04 +0000)
committerLi Yang <leoyang.li@nxp.com>
Fri, 11 Jan 2019 21:06:54 +0000 (15:06 -0600)
commit8a533a7de21aa69cf9a3e55223c819858fbc7da2
tree717a824561951a85b057d0f47fed59e6e9c49c78
parentf1e250bf365962519c96a1255b2fe34b6c0d6c60
soc: fsl: dpio: Change bpid type to u16

In all QBMan registers, the buffer pool id field is two bytes long.
The low level qbman APIs reflect this, but the high level DPIO ones
use u32. Modify them in order to avoid implicit downcasts.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/dpio/dpio-service.c
include/soc/fsl/dpaa2-io.h