From patchwork Wed Mar 28 10:50:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 7507 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 6621123E12 for ; Wed, 28 Mar 2012 10:58:31 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2EF2EA183F7 for ; Wed, 28 Mar 2012 10:58:31 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id e36so1764156iag.11 for ; Wed, 28 Mar 2012 03:58:31 -0700 (PDT) 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:in-reply-to:references :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=5CJEQqn2o+UhDDxohEW2radTkxVj9OAa4s7LIhM09Tc=; b=F2/+5q8YV3oijPEnJ5TwhXGVzyl4tz85M478R+v0RXs42hQOJ2k6+OR2eIxb23fkSx h07Ncx+CfltyqtNRGzcggwDxYdHjuXPWYOIk/9onA/Pd7vIGhIElvNZNl3azYmaA7Zck bwbkxjs5dW7v41Y+tag0SsCRx9SbDzyNptINFRX9QYWMHbhoo4LNO/3/0LBnbmL06yJI Gy8N8hDgto9+M+lDsnXRztuC3p/YKuiqbmWRiQ+i3K01AEdkJncFGIBu2b6PPSdjQCTs ci9NKAa4h8JJpqBgcMBk2tNOixUbTonCy0nFm+g1KN8Ckzyiwvrj0YTfIaoTnK8csl/P LxLw== Received: by 10.50.45.234 with SMTP id q10mr1666280igm.54.1332932310985; Wed, 28 Mar 2012 03:58:30 -0700 (PDT) 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.231.5.205 with SMTP id 13csp46330ibw; Wed, 28 Mar 2012 03:58:30 -0700 (PDT) Received: by 10.68.72.9 with SMTP id z9mr71816694pbu.124.1332932309962; Wed, 28 Mar 2012 03:58:29 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id 9si3846643pbr.318.2012.03.28.03.58.29 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Mar 2012 03:58:29 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by pbcxa12 with SMTP id xa12so1907562pbc.37 for ; Wed, 28 Mar 2012 03:58:29 -0700 (PDT) Received: by 10.68.221.71 with SMTP id qc7mr21083896pbc.36.1332932309646; Wed, 28 Mar 2012 03:58:29 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id g4sm2453726pbt.58.2012.03.28.03.58.26 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 28 Mar 2012 03:58:28 -0700 (PDT) From: Tushar Behera To: rtc-linux@googlegroups.com Cc: linux-samsung-soc@vger.kernel.org, a.zummo@towertech.it, kgene.kim@samsung.com, patches@linaro.org, Heiko Stuebner Subject: [PATCH 1/2] rtc: rtc-s3c: Fix compilation error Date: Wed, 28 Mar 2012 16:20:36 +0530 Message-Id: <1332931837-3819-2-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1332931837-3819-1-git-send-email-tushar.behera@linaro.org> References: <1332931837-3819-1-git-send-email-tushar.behera@linaro.org> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmqLiBI/hYc97U0H18+4HFkAOE7nfD5outBLFK5Hg/xoi6lZ6PUMhZaC7DvI//t0P8Btnon Fixes following compilation error. drivers/rtc/rtc-s3c.c: At top level: drivers/rtc/rtc-s3c.c:671:3: error: request for member ‘data’ in something not a structure or union drivers/rtc/rtc-s3c.c:674:3: error: request for member ‘data’ in something not a structure or union drivers/rtc/rtc-s3c.c:677:3: error: request for member ‘data’ in something not a structure or union drivers/rtc/rtc-s3c.c:680:3: error: request for member ‘data’ in something not a structure or union Cc: Heiko Stuebner Signed-off-by: Tushar Behera --- drivers/rtc/rtc-s3c.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 7895186..dc6c0d2 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c @@ -667,16 +667,16 @@ static int s3c_rtc_resume(struct platform_device *pdev) #ifdef CONFIG_OF static const struct of_device_id s3c_rtc_dt_match[] = { { - .compatible = "samsung,s3c2410-rtc" + .compatible = "samsung,s3c2410-rtc", .data = TYPE_S3C2410, }, { - .compatible = "samsung,s3c2416-rtc" + .compatible = "samsung,s3c2416-rtc", .data = TYPE_S3C2416, }, { - .compatible = "samsung,s3c2443-rtc" + .compatible = "samsung,s3c2443-rtc", .data = TYPE_S3C2443, }, { - .compatible = "samsung,s3c6410-rtc" + .compatible = "samsung,s3c6410-rtc", .data = TYPE_S3C64XX, }, {},