2009年2月2日星期一

一个MODULE引起的血汗

采用让模组直接编译到内核的方式来进行编译,但是文件中却define了MODULE,我掉进了同一条河里.

//Anders 2008_0526, we don't need this macro.
//For this macro I spend 4 hours on tracing why xxx_init_module function doesn't execute. :-(
//Anders 2009_0203, havn't update this for xxx's new driver.
//For this macro, I spend 2 hours again :-(
//#ifndef MODULE
//#define MODULE
//#endif