@@ -59,11 +59,11 @@
#define fh_to_ctx(__fh) container_of(__fh, struct coda_ctx, fh)
int coda_debug;
-module_param(coda_debug, int, 0644);
+module_param(coda_debug, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(coda_debug, "Debug level (0-2)");
static int disable_tiling;
-module_param(disable_tiling, int, 0644);
+module_param(disable_tiling, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(disable_tiling, "Disable tiled frame buffers");
void coda_write(struct coda_dev *dev, u32 data, u32 reg)