Re: [PATCH 06/10] saa7134: make module parameters boolean

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

 



Am Samstag, den 20.11.2010, 00:43 +0100 schrieb David HÃrdeman:
> int to bool conversion for module parameters which are truely boolean.
> 
> Signed-off-by: David HÃrdeman <david@xxxxxxxxxxx>
> ---
>  drivers/media/video/saa7134/saa7134-input.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
> index 8b80efb..aea74e2 100644
> --- a/drivers/media/video/saa7134/saa7134-input.c
> +++ b/drivers/media/video/saa7134/saa7134-input.c
> @@ -29,12 +29,12 @@
>  
>  #define MODULE_NAME "saa7134"
>  
> -static unsigned int disable_ir;
> -module_param(disable_ir, int, 0444);
> +static bool disable_ir;
> +module_param(disable_ir, bool, 0444);
>  MODULE_PARM_DESC(disable_ir,"disable infrared remote support");
>  
> -static unsigned int ir_debug;
> -module_param(ir_debug, int, 0644);
> +static bool ir_debug;
> +module_param(ir_debug, bool, 0644);
>  MODULE_PARM_DESC(ir_debug,"enable debug messages [IR]");
>  
>  static int pinnacle_remote;
> 

Hi,

not exactly that one, but given all the previous changes,

I wonder if there will ever be some "tested-by:" from someone ...

Cheers,
Hermann


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux