linux-4.4.1/of_platform_device_create()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#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 reg...
* @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 i...
* registered. Unavailable devices will not get registe...
*/
struct platform_device *of_platform_device_create(struct...
const char *...
struct devic...
{
return of_platform_device_create_pdata(np, bus_i...
-
--[[linux-4.4.1/of_platform_device_create_pdata()]]
}
EXPORT_SYMBOL(of_platform_device_create);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]
*コメント [#q92110d5]
終了行:
*参照元 [#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 reg...
* @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 i...
* registered. Unavailable devices will not get registe...
*/
struct platform_device *of_platform_device_create(struct...
const char *...
struct devic...
{
return of_platform_device_create_pdata(np, bus_i...
-
--[[linux-4.4.1/of_platform_device_create_pdata()]]
}
EXPORT_SYMBOL(of_platform_device_create);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]
*コメント [#q92110d5]
ページ名: