From patchwork Wed Feb 6 22:23:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 14649 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 5233323EAD for ; Wed, 6 Feb 2013 22:23:17 +0000 (UTC) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by fiordland.canonical.com (Postfix) with ESMTP id 0CD62A181D2 for ; Wed, 6 Feb 2013 22:23:16 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id gb23so1242513vcb.10 for ; Wed, 06 Feb 2013 14:23:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :mime-version:content-type:x-gm-message-state; bh=ZXCPhdibGIOHyZ7blT+/rQyAdv+N/W3+6SgcMJ7G1hU=; b=k9lC5GjcHdC0TEBugS5xM1lpVqm9BD86G+7NluCiDh5KHf687YdK6pGQ3jYUmpXjDe MZnldktRIG1OU3gOgEU1pTgiNsNdZJciYXGdehToxfVU38rXnlo6XsoH3WInv7JEwnsw Hmn0MlMrBY20fIite8IFh5yy3Q/a9TyzdoKP0ii0R9iWcLoarvcZXGQYeuxeYlI/gD5n b/LdNxlHb2nfmu9nQiNYmSNdIOZCXzSgjkrytycE9d/HLk5paFrZvG2dU4bU9/1LLpZq tHrM0p4/x2Y/MTDQa6OOgOAHqeD2nd7y6na63ldj3WQsNlWtaRslupIkHICLS4zwpAWX VcGw== X-Received: by 10.52.66.168 with SMTP id g8mr4818892vdt.27.1360189396517; Wed, 06 Feb 2013 14:23:16 -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.58.252.8 with SMTP id zo8csp55381vec; Wed, 6 Feb 2013 14:23:16 -0800 (PST) X-Received: by 10.14.209.131 with SMTP id s3mr101808104eeo.26.1360189395506; Wed, 06 Feb 2013 14:23:15 -0800 (PST) Received: from eu1sys200aog112.obsmtp.com (eu1sys200aog112.obsmtp.com [207.126.144.133]) by mx.google.com with SMTP id d45si43982962eem.7.2013.02.06.14.23.09 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Feb 2013 14:23:15 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.133 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.133; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.133 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob112.postini.com ([207.126.147.11]) with SMTP ID DSNKURLXzZivlQCme50KW0XeM44H7ogbmP12@postini.com; Wed, 06 Feb 2013 22:23:15 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id EEE498A; Wed, 6 Feb 2013 22:23:07 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 29CFAA1BE; Wed, 6 Feb 2013 22:23:07 +0000 (GMT) Received: from exdcvycastm004.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm004", Issuer "exdcvycastm004" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id 62A2BA8074; Wed, 6 Feb 2013 23:22:58 +0100 (CET) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.2) with Microsoft SMTP Server (TLS) id 8.3.83.0; Wed, 6 Feb 2013 23:23:06 +0100 From: Linus Walleij To: Samuel Ortiz , Cc: Anmar Oueja , Linus Walleij , Lee Jones Subject: [PATCH] mfd: ab8500: fix compile error Date: Wed, 6 Feb 2013 23:23:01 +0100 Message-ID: <1360189381-3259-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlqFD21HU0S4cBaF3t7sv+mfFb5pVCWss2k/ruDbPFYx9PskL9+W2bh2bA4G8mSxpAy470/ From: Linus Walleij When compiling the AB8500 core driver in the latest MFD tree the following happens: CC drivers/mfd/ab8500-debugfs.o /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:3: error: 'AB8500_SYS_CTRL1_BLOCK' undeclared here (not in a function) /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:2: error: array index in initializer not of integer type /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:2: error: (near initialization for 'debug_ranges') (...) This is due to a missing include statement, so fix it up. Cc: Lee Jones Signed-off-by: Linus Walleij --- drivers/mfd/ab8500-debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c index ba25f95..45fe3c5 100644 --- a/drivers/mfd/ab8500-debugfs.c +++ b/drivers/mfd/ab8500-debugfs.c @@ -82,6 +82,7 @@ #include #include +#include #include #ifdef CONFIG_DEBUG_FS