Message ID | 1366624566-6510-1-git-send-email-linus.walleij@stericsson.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCA6FSNC7EBBBTMS2SFQKGQEKD6TH2Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gg0-f200.google.com (mail-gg0-f200.google.com [209.85.161.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 566EC25DEE for <linaro@patches.linaro.org>; Mon, 22 Apr 2013 09:57:15 +0000 (UTC) Received: by mail-gg0-f200.google.com with SMTP id w6sf2884014ggk.11 for <linaro@patches.linaro.org>; Mon, 22 Apr 2013 02:56:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-beenthere:x-received:received-spf: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 :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=1lkBo1MV1yLW+hVaKDr2T+8HAj769IpFlV0YgtEOz4Q=; b=el/HRGc6hJOf4kzqaaoPIC1XRp50jP88zYNGmIMP7L64krDOeUmPyQOhgCE46rPC8b DfY8vj0AOHRkvONtv3CKpnMcWX/l3dOKn0wd4+IGLmswDrpva6TISVJQLth9Ki+QaSce e+D5KZPuL2e8HT2viG2bp8PRo6XCpofjyyN+rdR3IoKvDgzK1ssgT70A5b9RiqU7EiMS v5OqGS9NrkiJf4eWgu4oVw/tvpa6JKyMp7csGfd6fpBVZlxhDvsyG5dlUbNT2Bf6XWbP wwjTeiX0BYkCdi5BWjGYQyA15TetgK40A7T0ZS6qI7uDxZA/QVLpbs4uHgxFPI3TBfOX 3cTQ== X-Received: by 10.236.203.134 with SMTP id f6mr12780321yho.46.1366624589082; Mon, 22 Apr 2013 02:56:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.106.133 with SMTP id gu5ls3259894qeb.28.gmail; Mon, 22 Apr 2013 02:56:29 -0700 (PDT) X-Received: by 10.58.187.42 with SMTP id fp10mr18326905vec.46.1366624588977; Mon, 22 Apr 2013 02:56:28 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id cy6si15550005vcb.40.2013.04.22.02.56.28 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Apr 2013 02:56:28 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.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.220.174; Received: by mail-vc0-f174.google.com with SMTP id kw10so5807625vcb.19 for <patchwork-forward@linaro.org>; Mon, 22 Apr 2013 02:56:28 -0700 (PDT) X-Received: by 10.58.181.201 with SMTP id dy9mr18524478vec.34.1366624588847; Mon, 22 Apr 2013 02:56:28 -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.58.127.98 with SMTP id nf2csp68820veb; Mon, 22 Apr 2013 02:56:28 -0700 (PDT) X-Received: by 10.180.85.103 with SMTP id g7mr64595760wiz.23.1366624587919; Mon, 22 Apr 2013 02:56:27 -0700 (PDT) Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115]) by mx.google.com with SMTP id i8si4901016eem.185.2013.04.22.02.56.13 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 22 Apr 2013 02:56:27 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.115 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.115; Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKUXUJPNBF2UH2PD45OM09/B7oopWphlXY@postini.com; Mon, 22 Apr 2013 09:56:27 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 592BA60; Mon, 22 Apr 2013 09:55:15 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 493083F; Mon, 22 Apr 2013 03:04:42 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id F059524C080; Mon, 22 Apr 2013 11:56:04 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.279.5; Mon, 22 Apr 2013 11:56:10 +0200 From: Linus Walleij <linus.walleij@stericsson.com> To: <linux-arm-kernel@lists.infradead.org>, Alessandro Zummo <a.zummo@towertech.it>, <rtc-linux@googlegroups.com> Cc: Arnd Bergmann <arnd@arndb.de>, <devicetree-discuss@lists.ozlabs.org>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 11/23] rtc: coh901331: add devicetree support Date: Mon, 22 Apr 2013 11:56:05 +0200 Message-ID: <1366624566-6510-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: ALoCoQmUiwsC/6Zlz11uxC3DY/Tu5+Xlp0LJP8hVQu8Ibx+Q2/omrcCgmazxhT8H1W8g4DNZLu5P X-Original-Sender: linus.walleij@stericsson.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain |
diff --git a/drivers/rtc/rtc-coh901331.c b/drivers/rtc/rtc-coh901331.c index 2d28ec1..4415b57 100644 --- a/drivers/rtc/rtc-coh901331.c +++ b/drivers/rtc/rtc-coh901331.c @@ -276,10 +276,16 @@ static void coh901331_shutdown(struct platform_device *pdev) clk_disable_unprepare(rtap->clk); } +static const struct of_device_id coh901331_dt_match[] = { + { .compatible = "stericsson,coh901331" }, + {}, +}; + static struct platform_driver coh901331_driver = { .driver = { .name = "rtc-coh901331", .owner = THIS_MODULE, + .of_match_table = coh901331_dt_match, }, .remove = __exit_p(coh901331_remove), .suspend = coh901331_suspend,