Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754914Ab0KEVFy (ORCPT ); Fri, 5 Nov 2010 17:05:54 -0400 Received: from mail-qy0-f174.google.com ([209.85.216.174]:39457 "EHLO mail-qy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753499Ab0KEVFw (ORCPT ); Fri, 5 Nov 2010 17:05:52 -0400 Date: Fri, 5 Nov 2010 17:05:46 -0400 (EDT) From: Anders Kaseorg X-X-Sender: andersk@dr-wily.mit.edu To: Rusty Russell cc: linux-kernel@vger.kernel.org, Tim Abbott Subject: [PATCH] module: Update prototype for ref_module (formerly use_module) Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1077 Lines: 30 Commit 9bea7f23952d5948f8e5dfdff4de09bb9981fb5f renamed use_module to ref_module (and changed its return value), but forgot to update this prototype in module.h. Signed-off-by: Anders Kaseorg --- include/linux/module.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/module.h b/include/linux/module.h index aace066..caf6105 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -514,7 +514,7 @@ static inline void __module_get(struct module *module) #define symbol_put_addr(p) do { } while(0) #endif /* CONFIG_MODULE_UNLOAD */ -int use_module(struct module *a, struct module *b); +int ref_module(struct module *a, struct module *b); /* This is a #define so the string doesn't get put in every .o file */ #define module_name(mod) \ -- 1.7.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/