init.h: Protect against multiple includes

这个提交包含在:
Aaron Lindsay 2012-10-09 23:26:28 -04:00
父节点 c90edb451d
当前提交 03dfa30b70
共有 1 个文件被更改,包括 5 次插入0 次删除

查看文件

@ -18,6 +18,9 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef INIT_H
#define INIT_H
struct initcall_func {
void (*fptr)();
};
@ -29,3 +32,5 @@ struct initcall_func {
#define early_initcall(func) _initcall("early", 0, func)
#define driversubsys_initcall(func) _initcall("driversubsys", 1, func)
#define device_initcall(func) _initcall("device", 2, func)
#endif /* INIT_H */