staging: fbtft: fix type assignment warning
authorAlex Wilson <alex.david.wilson@gmail.com>
Thu, 30 Mar 2017 07:16:02 +0000 (01:16 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:05:59 +0000 (17:05 +0200)
commit919a9bb607fe6793144f9ed171f7e5382e9cc65a
treee2e340a15b78649bbca21a7d8158e4ff36b5c77d
parentca86987cd41b46094b0d222095804e40d0e37248
staging: fbtft: fix type assignment warning

Sparse spits out a warning that a __be16 was being assigned to a u16.
Change the type of txbuf16 to __be16 b/c it's a restricted type and
prevents mixing endianness.

Signed-off-by: Alex Wilson <alex.david.wilson@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft-bus.c