Hi all, I find there are some code in kernel likes this: #ifdef MODULE static struct net_device *dev_82596; ...... #endif So I guess the function of "MODULE" is to build the code as a module. Why do we need this macro? Is some code need specific processing when building as a module or into kernel binary? Thanks in advance! Best Regards Nan Xiao _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies