Re: [PATCH 2/2] [media] tvp5150: Make debug module parameter visible in sysfs

2014-03-01 Thread Prabhakar Lad
Hi Philipp,

Thanks for the patch.

On Thu, Feb 27, 2014 at 10:14 PM, Philipp Zabel p.za...@pengutronix.de wrote:
 Set permissions on the debug module parameter to make it appear in sysfs.

 Signed-off-by: Philipp Zabel p.za...@pengutronix.de

Acked-by: Lad, Prabhakar prabhakar.cse...@gmail.com

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


[PATCH 2/2] [media] tvp5150: Make debug module parameter visible in sysfs

2014-02-27 Thread Philipp Zabel
Set permissions on the debug module parameter to make it appear in sysfs.

Signed-off-by: Philipp Zabel p.za...@pengutronix.de
---
 drivers/media/i2c/tvp5150.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/i2c/tvp5150.c b/drivers/media/i2c/tvp5150.c
index 8ac52fc..4fd3688 100644
--- a/drivers/media/i2c/tvp5150.c
+++ b/drivers/media/i2c/tvp5150.c
@@ -29,7 +29,7 @@ MODULE_LICENSE(GPL);
 
 
 static int debug;
-module_param(debug, int, 0);
+module_param(debug, int, 0644);
 MODULE_PARM_DESC(debug, Debug level (0-2));
 
 struct tvp5150 {
-- 
1.8.5.3

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