From patchwork Thu Aug 8 05:15:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 18846 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A7034246A4 for ; Thu, 8 Aug 2013 05:32:19 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id f12sf3044160vbg.7 for ; Wed, 07 Aug 2013 22:32:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=oYaaHNY70DfE79dhYbD0hT2yVJHg1PJHED02zCeU8m0=; b=nceJb/cXgCplXMyoLYinkBQtZkSCEsLK1nUaSI2YsU984hoIVoERte+P/A7KH8u43d dbCTRzCybQTO7mjnTRv0ZHxm6HyFomMx5TACyjFPapwJoFyv2AXaCp4992vlVmRElfHE HvxH866ztOq3LplakdOqaPdvTGUQFVT6MtgIZMujzixIZafuNEIyDyDTwpCpTS8Ndzjg eSAfWGfEd+qpJ9mORaKGLFjD8qyTPZccNfyNgOyCDH3mK7qSK8ak9yhySjQL4lecAEEn kFPtRB9j9kJwWb58M/eBSpwFhaAQwi1tqzhofUbH4vueNSzC00v7vTNnvm1k8jEASu9i Rf8A== X-Received: by 10.236.148.33 with SMTP id u21mr2549679yhj.37.1375939938896; Wed, 07 Aug 2013 22:32:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.117.166 with SMTP id kf6ls807180qeb.30.gmail; Wed, 07 Aug 2013 22:32:18 -0700 (PDT) X-Received: by 10.58.214.105 with SMTP id nz9mr2191279vec.58.1375939938713; Wed, 07 Aug 2013 22:32:18 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id to9si2643293vdc.45.2013.08.07.22.32.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Aug 2013 22:32:18 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id d10so2703451vea.19 for ; Wed, 07 Aug 2013 22:32:18 -0700 (PDT) X-Gm-Message-State: ALoCoQk1K8LZ/uN2scnOLqhr4PucHr4aELXsp9zSGplOdoJxk8BBiynM5s1c8AxaucR6gQpxPAHG X-Received: by 10.220.164.138 with SMTP id e10mr3130087vcy.27.1375939938559; Wed, 07 Aug 2013 22:32:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.11.8 with SMTP id pc8csp1732vcb; Wed, 7 Aug 2013 22:32:17 -0700 (PDT) X-Received: by 10.66.161.138 with SMTP id xs10mr4269372pab.56.1375939937528; Wed, 07 Aug 2013 22:32:17 -0700 (PDT) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by mx.google.com with ESMTPS id mu18si8350815pab.263.2013.08.07.22.32.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Aug 2013 22:32:17 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.174 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.174; Received: by mail-pd0-f174.google.com with SMTP id 10so2202213pdc.33 for ; Wed, 07 Aug 2013 22:32:16 -0700 (PDT) X-Received: by 10.68.245.165 with SMTP id xp5mr4245074pbc.66.1375939936716; Wed, 07 Aug 2013 22:32:16 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id eq5sm11961536pbc.15.2013.08.07.22.32.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 Aug 2013 22:32:16 -0700 (PDT) From: Sachin Kamat To: linux-spi@vger.kernel.org Cc: linux-doc@vger.kernel.org, broonie@kernel.org, rob@landley.net, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] spi/documentation: Fix usage of __initdata Date: Thu, 8 Aug 2013 10:45:10 +0530 Message-Id: <1375938910-6102-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , __initdata should be placed between the variable name and equal sign for the variable to be placed in the intended section. Fix the example code. Signed-off-by: Sachin Kamat --- Documentation/spi/spi-summary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index 2331eb2..f21edb9 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary @@ -215,7 +215,7 @@ So for example arch/.../mach-*/board-*.c files might have code like: /* if your mach-* infrastructure doesn't support kernels that can * run on multiple boards, pdata wouldn't benefit from "__init". */ - static struct mysoc_spi_data __initdata pdata = { ... }; + static struct mysoc_spi_data pdata __initdata = { ... }; static __init board_init(void) {