*参照元 [#eb08cbd8] #backlinks *説明 [#wb3fc25e] -パス: [[linux-4.4.1/drivers/base/core.c]] -FIXME: これは何? --説明 **引数 [#r2367d2d] -struct device *dev -- --[[linux-4.4.1/device]] **返り値 [#j3020e5e] -struct device * -- **参考 [#n5de7f13] *実装 [#q216f9cf] /** * get_device - increment reference count for device. * @dev: device. * * This simply forwards the call to kobject_get(), though * we do take care to provide for the case that we get a NULL * pointer passed in. */ struct device *get_device(struct device *dev) { return dev ? kobj_to_dev(kobject_get(&dev->kobj)) : NULL; - --[[linux-4.4.1/kobj_to_dev()]] --[[linux-4.4.1/kobject_get()]] } EXPORT_SYMBOL_GPL(get_device); - --[[linux-4.4.1/EXPORT_SYMBOL_GPL()]] *コメント [#a4911ac6]