*参照元 [#yf9a2d77] #backlinks *説明 [#p16f5f12] -パス: [[linux-4.4.1/drivers/of/platform.c]] -FIXME: これは何? --説明 **引数 [#zcc11f76] -struct device_node *np -- --[[linux-4.4.1/device_node]] -const char *bus_id -- -struct device *parent -- --[[linux-4.4.1/device]] **返り値 [#yd45d4ec] -struct platform_device * -- --[[linux-4.4.1/platform_device]] **参考 [#nb7eb674] *実装 [#q19a0e9e] /** * of_platform_device_create - Alloc, initialize and register an of_device * @np: pointer to node to create device for * @bus_id: name to assign device * @parent: Linux device model parent device. * * Returns pointer to created platform device, or NULL if a device was not * registered. Unavailable devices will not get registered. */ struct platform_device *of_platform_device_create(struct device_node *np, const char *bus_id, struct device *parent) { return of_platform_device_create_pdata(np, bus_id, NULL, parent); - --[[linux-4.4.1/of_platform_device_create_pdata()]] } EXPORT_SYMBOL(of_platform_device_create); - --[[linux-4.4.1/EXPORT_SYMBOL()]] *コメント [#q92110d5]