Message ID | 1366624770-6786-1-git-send-email-linus.walleij@stericsson.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCA6FSNC7EBBBFMU2SFQKGQEJZGI52Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f70.google.com (mail-vb0-f70.google.com [209.85.212.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3301325DEE for <linaro@patches.linaro.org>; Mon, 22 Apr 2013 10:00:35 +0000 (UTC) Received: by mail-vb0-f70.google.com with SMTP id 11sf11697935vbf.5 for <linaro@patches.linaro.org>; Mon, 22 Apr 2013 02:59:49 -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=j81HvR4JSQEAsOQDHBShXq4yYR7KNQ39CWPf1dQhtrM=; b=eyQkKgGWFAiXsG9IdRHv/Zx5odOdM53kuBNbdu+zvZfnCWL3FjDoav7kcUUOBJChBO w18OdzeolmIQa+MyE+jfLKnJmwsF9I7moAujbuacFFlHp5mEMT/xcOnPLIvkHlMLlOnR Zx102DD3+2IJ3TZgsdbZl8AAsNmc5QRZGZFQH0zcVm14hWVxp+NcM7uKrxkrIPEXJllY qXp7RD/a4eE5XHRgFuP2ECpJhX1CH241HjoNcwJ9Vmmzf8qSMOYM6qFUvxAz991dnUGk T47dw0GrE4vFlMA2X7V3PbG/4GTDY4EYWkZD+EzzE84TY3z0RdC0f/mZd+Ii0c4fSkRL kDEQ== X-Received: by 10.236.130.165 with SMTP id k25mr7215936yhi.14.1366624789075; Mon, 22 Apr 2013 02:59:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.49.229 with SMTP id x5ls676490qen.96.gmail; Mon, 22 Apr 2013 02:59:48 -0700 (PDT) X-Received: by 10.52.180.195 with SMTP id dq3mr16391701vdc.9.1366624788899; Mon, 22 Apr 2013 02:59:48 -0700 (PDT) Received: from mail-vc0-f180.google.com (mail-vc0-f180.google.com [209.85.220.180]) by mx.google.com with ESMTPS id ex4si15541210vdb.118.2013.04.22.02.59.48 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Apr 2013 02:59:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.180 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.180; Received: by mail-vc0-f180.google.com with SMTP id m16so5951288vca.11 for <patchwork-forward@linaro.org>; Mon, 22 Apr 2013 02:59:48 -0700 (PDT) X-Received: by 10.52.71.4 with SMTP id q4mr15627052vdu.8.1366624788671; Mon, 22 Apr 2013 02:59:48 -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 nf2csp68932veb; Mon, 22 Apr 2013 02:59:48 -0700 (PDT) X-Received: by 10.204.166.133 with SMTP id m5mr10528659bky.78.1366624787486; Mon, 22 Apr 2013 02:59:47 -0700 (PDT) Received: from eu1sys200aog118.obsmtp.com (eu1sys200aog118.obsmtp.com [207.126.144.145]) by mx.google.com with SMTP id x41si30079688eey.126.2013.04.22.02.59.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 22 Apr 2013 02:59:47 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.145 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.145; Received: from beta.dmz-us.st.com ([167.4.1.35]) (using TLSv1) by eu1sys200aob118.postini.com ([207.126.147.11]) with SMTP ID DSNKUXUKB3I3B0ix1h7EHq1MtIQGuOJiLIsT@postini.com; Mon, 22 Apr 2013 09:59:47 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 A950664; Mon, 22 Apr 2013 09:58:38 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-us.st.com (STMicroelectronics) with ESMTP id 7BBB13F; Mon, 22 Apr 2013 03:08:05 +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 872F3A8074; Mon, 22 Apr 2013 11:59:29 +0200 (CEST) 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.279.5; Mon, 22 Apr 2013 11:59:33 +0200 From: Linus Walleij <linus.walleij@stericsson.com> To: <linux-arm-kernel@lists.infradead.org>, Vinod Koul <vinod.koul@intel.com>, Dan Williams <djbw@fb.com> Cc: Arnd Bergmann <arnd@arndb.de>, <devicetree-discuss@lists.ozlabs.org>, Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 18/23] dma: coh901318: add devicetree support Date: Mon, 22 Apr 2013 11:59:30 +0200 Message-ID: <1366624770-6786-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: ALoCoQmHcssXsLx6MPQzcs5Hv+LYQg3EoWk7FrVayby4uQTgMvzt1DNVz0hZFElPU2As2GSo3Vp1 X-Original-Sender: linus.walleij@stericsson.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.180 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/dma/coh901318.c b/drivers/dma/coh901318.c index 797940e..2855646 100644 --- a/drivers/dma/coh901318.c +++ b/drivers/dma/coh901318.c @@ -2758,11 +2758,16 @@ static int __exit coh901318_remove(struct platform_device *pdev) return 0; } +static const struct of_device_id coh901318_dt_match[] = { + { .compatible = "stericsson,coh901318" }, + {}, +}; static struct platform_driver coh901318_driver = { .remove = __exit_p(coh901318_remove), .driver = { .name = "coh901318", + .of_match_table = coh901318_dt_match, }, };