From: Jim C. <jim...@gm...> - 2012-05-15 07:51:39
|
also wrap a line > 80 cols Signed-off-by: Jim Cromie <jim...@gm...> --- debugfs.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/debugfs.c b/debugfs.c index 8ecaf32..426c598 100644 --- a/debugfs.c +++ b/debugfs.c @@ -112,7 +112,7 @@ static int acx_dbgfs_write(struct file *file, const char __user *buf, return (acx_proc_write_funcs[fidx])(file, buf, count, ppos); } -const struct file_operations acx_fops = { +static const struct file_operations acx_fops = { .read = seq_read, .write = acx_dbgfs_write, .open = acx_dbgfs_open, @@ -124,7 +124,7 @@ static struct dentry *acx_dbgfs_dir; int acx_debugfs_add_adev(struct acx_device *adev) { int i; - fmode_t fmode; + int fmode; struct dentry *file; const char *devname = wiphy_name(adev->ieee->wiphy); struct dentry *acx_dbgfs_devdir @@ -167,7 +167,8 @@ fail: void acx_debugfs_remove_adev(struct acx_device *adev) { debugfs_remove_recursive(adev->debugfs_dir); - pr_info("%s %p\n", wiphy_name(adev->ieee->wiphy), adev->debugfs_dir); + pr_info("%s %p\n", wiphy_name(adev->ieee->wiphy), + adev->debugfs_dir); adev->debugfs_dir = NULL; } -- 1.7.10.1.487.ga3935e6 |