*参照元 [#q1ae6335] #backlinks *説明 [#c6828ece] -パス: [[linux-4.4.1/include/linux/of.h]] -FIXME: これは何? --説明 **引数 [#xa79876a] -table -- -name -- -compat -- -fn -- -fn_type -- **返り値 [#n5732691] - -- **参考 [#h2cf3ffe] *実装 [#a161b2a2] #ifdef CONFIG_OF - --[[linux-4.4.1/CONFIG_OF]] #define _OF_DECLARE(table, name, compat, fn, fn_type) \ static const struct of_device_id __of_table_##name \ __used __section(__##table##_of_table) \ = { .compatible = compat, \ .data = (fn == (fn_type)NULL) ? fn : fn } #else #define _OF_DECLARE(table, name, compat, fn, fn_type) \ static const struct of_device_id __of_table_##name \ __attribute__((unused)) \ = { .compatible = compat, \ .data = (fn == (fn_type)NULL) ? fn : fn } #endif - --[[linux-4.4.1/of_device_id]] *コメント [#n8563406]