From patchwork Fri Jan 21 10:49:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: durgadoss.r@intel.com X-Patchwork-Id: 494721 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0LAnhQq022623 for ; Fri, 21 Jan 2011 10:49:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751739Ab1AUKtm (ORCPT ); Fri, 21 Jan 2011 05:49:42 -0500 Received: from mga09.intel.com ([134.134.136.24]:47525 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750714Ab1AUKtm convert rfc822-to-8bit (ORCPT ); Fri, 21 Jan 2011 05:49:42 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 21 Jan 2011 02:49:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.60,357,1291622400"; d="scan'208";a="699137064" Received: from pgsmsx603.gar.corp.intel.com ([10.221.43.87]) by orsmga001.jf.intel.com with ESMTP; 21 Jan 2011 02:49:40 -0800 Received: from bgsmsx502.gar.corp.intel.com (10.223.4.248) by pgsmsx603.gar.corp.intel.com (10.221.43.87) with Microsoft SMTP Server (TLS) id 8.2.254.0; Fri, 21 Jan 2011 18:49:39 +0800 Received: from bgsmsx502.gar.corp.intel.com ([10.223.4.248]) by bgsmsx502.gar.corp.intel.com ([10.223.4.248]) with mapi; Fri, 21 Jan 2011 16:19:38 +0530 From: "R, Durgadoss" To: Len Brown CC: Thomas Renninger , "linux-acpi@vger.kernel.org" Date: Fri, 21 Jan 2011 16:19:37 +0530 Subject: re: Rename exported func generate_netlink_event to thermal_netlink_event Thread-Topic: re: Rename exported func generate_netlink_event to thermal_netlink_event Thread-Index: Acu5WOYh8CmInRNSSFmODQLd0fI0Zg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 21 Jan 2011 10:49:44 +0000 (UTC) diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c index 5bbacff..02283f3 100644 --- a/drivers/thermal/thermal_sys.c +++ b/drivers/thermal/thermal_sys.c @@ -78,7 +78,7 @@ static struct genl_multicast_group thermal_event_mcgrp = { static int genetlink_init(void); static void genetlink_exit(void); -int generate_netlink_event(u32 orig, enum events event) +int thermal_netlink_event(u32 orig, enum events event) { struct sk_buff *skb; struct nlattr *attr; @@ -137,7 +137,7 @@ int generate_netlink_event(u32 orig, enum events event) return result; } -EXPORT_SYMBOL(generate_netlink_event); +EXPORT_SYMBOL(thermal_netlink_event); static int genetlink_init(void) { @@ -163,8 +163,8 @@ static void genetlink_exit(void) static void genetlink_exit(void) {}; static int genetlink_init(void) { return 0; } -int generate_netlink_event(u32 orig, enum events event) { return 0; } -EXPORT_SYMBOL(generate_netlink_event); +int thermal_netlink_event(u32 orig, enum events event) { return 0; } +EXPORT_SYMBOL(thermal_netlink_event); #endif /* CONFIG_NET */ diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 1c31614..c24756e 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -161,7 +161,7 @@ enum { }; #define THERMAL_GENL_CMD_MAX (__THERMAL_GENL_CMD_MAX - 1) #endif -extern int generate_netlink_event(u32 orig, enum events event); +extern int thermal_netlink_event(u32 orig, enum events event); struct thermal_zone_device *thermal_zone_device_register(char *, int, void *, const struct thermal_zone_device_ops *, int tc1, int tc2,