Fix a typo on a comment in ofw_bus_if.m, the default method will return -1
when a node doesn't exist. Reviewed by: nwhitehorn Approved by: adrian (mentor)
This commit is contained in:
parent
21cb1342c0
commit
8ad579cac3
@ -158,7 +158,7 @@ METHOD const char * get_name {
|
||||
} DEFAULT ofw_bus_default_get_name;
|
||||
|
||||
# Get the firmware node for the device dev on the bus. The default method will
|
||||
# return 0, which signals that there is no such node.
|
||||
# return -1, which signals that there is no such node.
|
||||
METHOD phandle_t get_node {
|
||||
device_t bus;
|
||||
device_t dev;
|
||||
|
Loading…
x
Reference in New Issue
Block a user