dev: implement driver objects to organise and identify devices
This commit is contained in:
@@ -8,5 +8,6 @@ struct char_device *char_device_create(void)
|
||||
}
|
||||
|
||||
dev->dev_type = DEV_TYPE_CHAR;
|
||||
|
||||
return CHAR_DEVICE(dev);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user