Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8a6d508a authored by Chengguang Xu's avatar Chengguang Xu Committed by Wolfram Sang
Browse files

i2c: expand minor range when registering chrdev region



Actually, total amount of available minor number for a single major is
MINORMASK + 1. So expand minor range when registering chrdev region.

Signed-off-by: default avatarChengguang Xu <cgxu519@gmx.com>
[wsa: fixed typo in commit message]
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 2e57b7ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment