fix build (once again)
This commit is contained in:
parent
7ef26f26e9
commit
5a220eee5d
1 changed files with 2 additions and 2 deletions
|
@ -35,13 +35,13 @@ int devices_init(void);
|
||||||
int device_init(struct device *dev);
|
int device_init(struct device *dev);
|
||||||
|
|
||||||
/** Increment a device's reference counter. */
|
/** Increment a device's reference counter. */
|
||||||
inline void device_get(struct device *dev)
|
__always_inline void device_get(struct device *dev)
|
||||||
{
|
{
|
||||||
kent_get(&dev->kent);
|
kent_get(&dev->kent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Decrement a device's referece counter. */
|
/** Decrement a device's referece counter. */
|
||||||
inline void device_put(struct device *dev)
|
__always_inline void device_put(struct device *dev)
|
||||||
{
|
{
|
||||||
kent_put(&dev->kent);
|
kent_put(&dev->kent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue