From patchwork Fri Nov 23 04:14:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\"Rajanikanth H.V" X-Patchwork-Id: 13111 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7BCD823FC0 for ; Fri, 23 Nov 2012 04:15:44 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 1BF83A185F4 for ; Fri, 23 Nov 2012 04:15:44 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so1351671ieb.11 for ; Thu, 22 Nov 2012 20:15:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=ciZVkh3lWxf7Tmz4a5p9PfBJHN2NGTHUUErFrMy0srI=; b=CnqT8wrmGSS5FO4EJ8mkl8rzVte+OklZBUyilS8vjukiDDzVl7M6TA2/SOSHyeyqIw gRMo2hj5TTaeT9ma26HeSnz8sjFpgTxwLdnEK5Y6vDoEO+i3ekV7AUc6rj1AIv3tgHFd 6blMoja3ml9UM1MGWHzIV1WStaNg4Zbjs+fzeoaLuMIbqlJMjK7HGc/D4Lioyhl/jTXs ntV+b02+51cRz2hoR1IGMwB+3qWmSj08mxrHOdmW8kMB48F0gNGrj6BOg9fkyxsQt/c1 JvYuVeEnshFXLUGNkmzuj7sW+bIU6SZbK0DtOXCwiZFPH9IVGS/r1RUBXnsZI/p39OwX gd8w== Received: by 10.50.161.169 with SMTP id xt9mr4944641igb.62.1353644143428; Thu, 22 Nov 2012 20:15:43 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp298449igt; Thu, 22 Nov 2012 20:15:42 -0800 (PST) Received: by 10.14.184.134 with SMTP id s6mr8699769eem.43.1353644142237; Thu, 22 Nov 2012 20:15:42 -0800 (PST) Received: from eu1sys200aog107.obsmtp.com (eu1sys200aog107.obsmtp.com [207.126.144.123]) by mx.google.com with SMTP id f7si9964172eeo.106.2012.11.22.20.15.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 20:15:42 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.123 is neither permitted nor denied by best guess record for domain of rajanikanth.hv@stericsson.com) client-ip=207.126.144.123; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.123 is neither permitted nor denied by best guess record for domain of rajanikanth.hv@stericsson.com) smtp.mail=rajanikanth.hv@stericsson.com Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob107.postini.com ([207.126.147.11]) with SMTP ID DSNKUK74YUJ2ezO+9rQrQlcLZ5qmKg09yKAo@postini.com; Fri, 23 Nov 2012 04:15:41 UTC Received: from zeta.dmz-us.st.com (ns4.st.com [167.4.16.71]) by beta.dmz-us.st.com (STMicroelectronics) with ESMTP id 688AB48; Fri, 23 Nov 2012 04:14:02 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id C21FD4D; Thu, 22 Nov 2012 23:19:37 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 234DD24C080; Fri, 23 Nov 2012 05:14:36 +0100 (CET) Received: from ubuntu12.bnr.st.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Fri, 23 Nov 2012 05:14:37 +0100 From: Rajanikanth H.V To: Cc: , , , , , , , , , , , , Rajanikanth H.V Subject: [PATCH] mfd: ab8500: add static linkage for battery info Date: Fri, 23 Nov 2012 09:44:31 +0530 Message-ID: <1353644071-14142-1-git-send-email-rajanikanth.hv@stericsson.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmFkNLRd9mqkV55lw6InEmtsqXxorQL3DXXVU/q//bg4WHM7NbGO2/god/t8KVLpyDsvX58 From: "Rajanikanth H.V" enforce static linkage for battery attributes structures this patch is against: "mfd-ab8500-add-devicetree-support-for-fuelgauge" Signed-off-by: Rajanikanth H.V --- drivers/power/ab8500_bmdata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/ab8500_bmdata.c b/drivers/power/ab8500_bmdata.c index ff8f055..db17930 100644 --- a/drivers/power/ab8500_bmdata.c +++ b/drivers/power/ab8500_bmdata.c @@ -143,7 +143,7 @@ static struct abx500_res_to_temp temp_tbl[] = { * Note that the batres_vs_temp table must be strictly sorted by falling * temperature values to work. */ -struct batres_vs_temp temp_to_batres_tbl_thermistor[] = { +static struct batres_vs_temp temp_to_batres_tbl_thermistor[] = { { 40, 120}, { 30, 135}, { 20, 165}, @@ -157,7 +157,7 @@ struct batres_vs_temp temp_to_batres_tbl_thermistor[] = { * Note that the batres_vs_temp table must be strictly sorted by falling * temperature values to work. */ -struct batres_vs_temp temp_to_batres_tbl_ext_thermistor[] = { +static struct batres_vs_temp temp_to_batres_tbl_ext_thermistor[] = { { 60, 300}, { 30, 300}, { 20, 300}, @@ -168,7 +168,7 @@ struct batres_vs_temp temp_to_batres_tbl_ext_thermistor[] = { }; /* battery resistance table for LI ION 9100 battery */ -struct batres_vs_temp temp_to_batres_tbl_9100[] = { +static struct batres_vs_temp temp_to_batres_tbl_9100[] = { { 60, 180}, { 30, 180}, { 20, 180},