mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-04 00:14:28 +08:00
DEVICE.HINTS(5): Enable resource_disabled()
This commit is contained in:
parent
3fc15fde79
commit
9199609cea
@ -388,6 +388,7 @@ resource_find_dev(int *anchor, const char *name, int *unit,
|
||||
*anchor = newln;
|
||||
return ret;
|
||||
}
|
||||
#endif /* __rtems__ */
|
||||
|
||||
/*
|
||||
* Check to see if a device is disabled via a disabled hint.
|
||||
@ -402,4 +403,3 @@ resource_disabled(const char *name, int unit)
|
||||
return (0);
|
||||
return (value);
|
||||
}
|
||||
#endif /* __rtems__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user