On Mon, 28 Aug 2006, Roland Dreier wrote:

>     > -#include <linux/init.h>
> 
> that file declares a function as __devinit, so <linux/init.h> is
> definitely needed.  What is pulling it in implicitly?

Here's the include sequence:

mthca_mcg.c includes
 mthca_cmd.h includes
  rdma/ib_verbs.h includes
   linux/device.h includes
    linux/module.h includes
     linux/moduleparam.h includes
      linux/init.h

Given how many levels down this is, I'm going to change my mind. I 
think the current explicit include is better than what I suggested.

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to