diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2016-04-03 20:44:44 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-04-11 18:54:59 +0200 |
commit | e28b124564e648d933337a0708dae1323c518af7 (patch) | |
tree | 616a6cfaedc904c000f72c725009fc8a0c4642f7 /lib/bitmap.c | |
parent | Linux 4.6-rc3 (diff) | |
download | linux-e28b124564e648d933337a0708dae1323c518af7.tar.xz linux-e28b124564e648d933337a0708dae1323c518af7.zip |
i2c: guarantee that I2C_M_RD will be 0x0001 forever
There is code out there in user space and kernel space which relies on
I2C_M_RD being bit 0 to simplify their bit operations. Add a comment to
make sure this will never break. Do proper sorting of the defines while
we are here.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions