[PATCH] fix comment about how the "dev" file is made up.
This commit is contained in:
parent
a9ce0a410e
commit
727d1ba5be
|
@ -39,12 +39,10 @@
|
||||||
* Right now the major/minor of a device is stored in a file called
|
* Right now the major/minor of a device is stored in a file called
|
||||||
* "dev" in sysfs.
|
* "dev" in sysfs.
|
||||||
* The number is stored as:
|
* The number is stored as:
|
||||||
* MMmm
|
* MM:mm
|
||||||
* MM is the major
|
* MM is the major
|
||||||
* mm is the minor
|
* mm is the minor
|
||||||
* The value is in hex.
|
* The value is in decimal.
|
||||||
* Yes, this will probably change when we go to a bigger major/minor
|
|
||||||
* range, and will have to be changed at that time.
|
|
||||||
*/
|
*/
|
||||||
static int get_major_minor(struct sysfs_class_device *class_dev, int *major, int *minor)
|
static int get_major_minor(struct sysfs_class_device *class_dev, int *major, int *minor)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue