]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: uapi: use 0xB4 as ioctl() major
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Mar 2016 08:48:06 +0000 (15:48 +0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Mar 2016 09:02:52 +0000 (16:02 +0700)
commit6936786e6d14cdac9e3f9ecf28a76c41cb8e746e
treea5ece514ceeeca6b0f6173ccd4f42ff17c79b43a
parent4e1baca8e91be2babcea5ffb2c274f6c49edfc6e
gpio: uapi: use 0xB4 as ioctl() major

The previous 'o' is in conflict and not very orderly assigned.
We want to select an ioctl() major that does not conflict with
the existining ones.

Add the new reserved major (0xB4) to Documentation/ioctl/ioctl-number.txt

Fixes: a65561fc7975 ("gpio: add a userspace chardev ABI for GPIOs")
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/ioctl/ioctl-number.txt
include/uapi/linux/gpio.h