[PATCH] i2c driver fixes for 2.6.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In message <20040105214654.GB29790 at kroah.com> you write:
> > There are loads of MODULE_PARM() used in the whole i2c subsystem. If we
> > are supposed to convert them all, let me know, tell me how to do this
> > cleanly (i.e. what to with that third parameter of module_param, and
> > what to do with MODULE_PARM_DESC) and I'll submit a patch.
> 
> They should be converted.  From module.h:
> 	/* DEPRECATED: Do not use. */
> 	#define MODULE_PARM(var,type) 	\
> 	...

Note that realistically, it's not going away in 2.6, so mass migration
doesn't really win anything.  However, I never implemented mixing old
and new style in the same module, so if you're adding a parameter, it
makes sense to convert them all.

Cheers,
Rusty.
--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux