{"id":806003,"url":"http://patchwork.ozlabs.org/api/patches/806003/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/patch/20170825191217.10278-5-maxime.ripard@free-electrons.com/","project":{"id":7,"url":"http://patchwork.ozlabs.org/api/projects/7/?format=json","name":"Linux network development","link_name":"netdev","list_id":"netdev.vger.kernel.org","list_email":"netdev@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170825191217.10278-5-maxime.ripard@free-electrons.com>","list_archive_url":null,"date":"2017-08-25T19:12:17","name":"[4/4] net: stmmac: sun8i: Remove the compatibles","commit_ref":null,"pull_url":null,"state":"accepted","archived":true,"hash":"3f1a09bd2f01538a191883925afba868e906bb47","submitter":{"id":12916,"url":"http://patchwork.ozlabs.org/api/people/12916/?format=json","name":"Maxime Ripard","email":"maxime.ripard@free-electrons.com"},"delegate":{"id":34,"url":"http://patchwork.ozlabs.org/api/users/34/?format=json","username":"davem","first_name":"David","last_name":"Miller","email":"davem@davemloft.net"},"mbox":"http://patchwork.ozlabs.org/project/netdev/patch/20170825191217.10278-5-maxime.ripard@free-electrons.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/806003/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806003/checks/","tags":{},"related":[],"headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xf9mJ52kNz9sRY\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 26 Aug 2017 05:13:04 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1758264AbdHYTMj (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 25 Aug 2017 15:12:39 -0400","from mail.free-electrons.com ([62.4.15.54]:49510 \"EHLO\n\tmail.free-electrons.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1758231AbdHYTMf (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 25 Aug 2017 15:12:35 -0400","by mail.free-electrons.com (Postfix, from userid 110)\n\tid 3163920962; Fri, 25 Aug 2017 21:12:33 +0200 (CEST)","from localhost (unknown [80.12.58.66])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id DD4EC20901;\n\tFri, 25 Aug 2017 21:12:22 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on\n\tmail.free-electrons.com","X-Spam-Level":"","X-Spam-Status":"No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT,\n\tURIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0","From":"Maxime Ripard <maxime.ripard@free-electrons.com>","To":"arm@kernel.org, davem@davemloft.net, Chen-Yu Tsai <wens@csie.org>,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>","Cc":"linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org,\n\tf.fainelli@gmail.com, clabbe.montjoie@gmail.com, andrew@lunn.ch,\n\tlinux-kernel@vger.kernel.org","Subject":"[PATCH 4/4] net: stmmac: sun8i: Remove the compatibles","Date":"Fri, 25 Aug 2017 21:12:17 +0200","Message-Id":"<20170825191217.10278-5-maxime.ripard@free-electrons.com>","X-Mailer":"git-send-email 2.13.5","In-Reply-To":"<20170825191217.10278-1-maxime.ripard@free-electrons.com>","References":"<20170825191217.10278-1-maxime.ripard@free-electrons.com>","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"},"content":"Since the bindings have been controversial, and we follow the DT stable ABI\nrule, we shouldn't let a driver with a DT binding that might change slip\nthrough in a stable release.\n\nRemove the compatibles to make sure the driver will not probe and no-one\nwill start using the binding currently implemented. This commit will\nobviously need to be reverted in due time.\n\nSigned-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>\n---\n drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 8 --------\n 1 file changed, 8 deletions(-)","diff":"diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c\nindex fffd6d5fc907..39c2122a4f26 100644\n--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c\n+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c\n@@ -979,14 +979,6 @@ static int sun8i_dwmac_probe(struct platform_device *pdev)\n }\n \n static const struct of_device_id sun8i_dwmac_match[] = {\n-\t{ .compatible = \"allwinner,sun8i-h3-emac\",\n-\t\t.data = &emac_variant_h3 },\n-\t{ .compatible = \"allwinner,sun8i-v3s-emac\",\n-\t\t.data = &emac_variant_v3s },\n-\t{ .compatible = \"allwinner,sun8i-a83t-emac\",\n-\t\t.data = &emac_variant_a83t },\n-\t{ .compatible = \"allwinner,sun50i-a64-emac\",\n-\t\t.data = &emac_variant_a64 },\n \t{ }\n };\n MODULE_DEVICE_TABLE(of, sun8i_dwmac_match);\n","prefixes":["4/4"]}