public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* what means "module_param(channel_mask, channel_mask, 0644)"?
@ 2009-07-11 11:01 Robert P. J. Day
  2009-07-11 11:07 ` Robert P. J. Day
  2009-07-11 12:41 ` Paul Bolle
  0 siblings, 2 replies; 4+ messages in thread
From: Robert P. J. Day @ 2009-07-11 11:01 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  researching my next newbie column about module parameters and i ran
across the following:

drivers/input/misc/ati_remote2.c:module_param(channel_mask, channel_mask, 0644);
drivers/input/misc/ati_remote2.c:module_param(mode_mask, mode_mask, 0644);

i have no idea what it means to have the second (type) field of
module_param() simply repeat the name of the parameter.  is this some
strange magic?  those two names don't *appear* to be typedef'ed
anywhere i can see.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
"Kernel Newbie Corner" column @ linux.com:          http://cli.gs/WG6WYX
========================================================================

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-11 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-11 11:01 what means "module_param(channel_mask, channel_mask, 0644)"? Robert P. J. Day
2009-07-11 11:07 ` Robert P. J. Day
2009-07-11 12:41 ` Paul Bolle
2009-07-11 12:40   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox