History

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

Linus Walleij committed 10 years ago

Commit fae98161 parent 9d93efe2 files · +3 −2Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/gpio.h+2−2
@@ -52,7 +52,7 @@ struct gpioline_info { · 51 unmodified lines
52 char consumer[32];52 char consumer[32];
53};53};
54 54
55#define GPIO_GET_CHIPINFO_IOCTL _IOR('o', 0x01, struct gpiochip_info)55#define GPIO_GET_CHIPINFO_IOCTL _IOR(0xB4, 0x01, struct gpiochip_info)
56#define GPIO_GET_LINEINFO_IOCTL _IOWR('o', 0x02, struct gpioline_info)56#define GPIO_GET_LINEINFO_IOCTL _IOWR(0xB4, 0x02, struct gpioline_info)
57 57
58#endif /* _UAPI_GPIO_H_ */58#endif /* _UAPI_GPIO_H_ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t