Add component initialization define in rtdef.h
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Add component initialization.
fix compiling error
fix compiling warning