staging: sm7xxfb: define new macros
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 15 Jul 2015 08:29:45 +0000 (13:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 17:17:08 +0000 (10:17 -0700)
commit87bf79298036a47ab158ae7e335cc7f8b0df4e9c
tree73ff0a74648e6f8129e1ea42b6424b1aeff3c5f2
parent9431fda3ff9193249ee7bc7731bb74e9f51f6f36
staging: sm7xxfb: define new macros

Define and use some new macros to work with different situations
based on little-endian and big-endian.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xx.h
drivers/staging/sm7xxfb/sm7xxfb.c