[PATCH] mm/swapfile.c: fix a minor coding style issue

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

 



This commit fixes a minor coding style issue in swapfile.c
adding an underscore in procswaps_init call.

Signed-off-by: Harish Jenny K N <harish_kandiga@xxxxxxxxxx>
---
 mm/swapfile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/swapfile.c b/mm/swapfile.c
index 4f6cba1..9a6004c 100644
--- a/mm/swapfile.c
+++ b/mm/swapfile.c
@@ -2426,12 +2426,12 @@ static int swaps_open(struct inode *inode, struct file *file)
 	.poll		= swaps_poll,
 };

-static int __init procswaps_init(void)
+static int __init proc_swaps_init(void)
 {
 	proc_create("swaps", 0, NULL, &proc_swaps_operations);
 	return 0;
 }
-__initcall(procswaps_init);
+__initcall(proc_swaps_init);
 #endif /* CONFIG_PROC_FS */

 #ifdef MAX_SWAPFILES_CHECK
--
1.9.1


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux