Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2915092yba; Mon, 8 Apr 2019 07:22:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqz4+c4kigqyUHaTiZRy56rIO4pl4fhYnwps8jAxe5wG/VHnJhPXfaOGkajK4ztp4dFWdBVg X-Received: by 2002:a63:554b:: with SMTP id f11mr28627290pgm.77.1554733346689; Mon, 08 Apr 2019 07:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554733346; cv=none; d=google.com; s=arc-20160816; b=Lbk/WAspEJSrqO/0yS2c9EYJt0bhDHUQR9zUBfMH9wg5M85O2n0R7UIi/V3tx17Rfq BVLzBjIgbSvmIngoNapBxUw9+LnxqkNPF9xZBMRQDef+ga/yLBjEr0HfHUD1JaF8PbDs prG6gwLHTEn03+yVwTOBbOVIdtcP7IJWXCJiQndSAXdjVL5sP4AY2yQD/UaI7aUI/Cz6 4R0IItfToIttUP/Nx3+fEkKkbTFrQKqFDKq/fV7bKr3wY/jKJEu3nZ+/qdL2eQkbgtMk QnJI4p66Sydl+2j9AFFiRUmfgUisdQABbpmZ3UtUHfMY75CB5jXLrdwRLyRLtdaWNm4K TX7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:to:from; bh=xp26jTRlGBKzICDGE6ZC63aIkkJj+qPLUGfBct1k2W4=; b=DYjM5RWhs+SLe8jk5lKdIQ4ksPTpKIeTlIfH8SnyxP/Losem0mozb0NKzGMEKU1uCT HXaKIho/kvZ476VHJQJnYGm4Bqq2qlgWsG+Oet17jHaBMglPjTBbrh744ZTX5+AgLRfw 79nbglCykRbK54mbL0fLCD/yNxPi3smqil7VOiHxyoklYngPc3U37091yq1oo/wfB41M l6uciN/+rXQC391NnJM93IKBlJK3yu+3SoHYUwjuth1sAeXt9ZOAn+NEeUZ2OkESoizd xhfJ5N9vGBw+KeSqKBFTuydwq3PXiqdzEIPfq4zhVliwTDL592yRFVOuYFRcDN0OQZZC 8laA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si26126666pgq.522.2019.04.08.07.22.10; Mon, 08 Apr 2019 07:22:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727138AbfDHOV2 (ORCPT + 99 others); Mon, 8 Apr 2019 10:21:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:33812 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726736AbfDHOV1 (ORCPT ); Mon, 8 Apr 2019 10:21:27 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 1642BB00E; Mon, 8 Apr 2019 14:21:25 +0000 (UTC) From: Thomas Bogendoerfer To: Ralf Baechle , Paul Burton , James Hogan , Dmitry Torokhov , Lee Jones , "David S. Miller" , Alessandro Zummo , Alexandre Belloni , Greg Kroah-Hartman , Jiri Slaby , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 2/6] MIPS: SGI-IP27: remove setup of RTC platform device Date: Mon, 8 Apr 2019 16:20:54 +0200 Message-Id: <20190408142100.27618-3-tbogendoerfer@suse.de> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20190408142100.27618-1-tbogendoerfer@suse.de> References: <20190408142100.27618-1-tbogendoerfer@suse.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RTC platform device will be setup by new IOC3 MFD driver, therefore remove it from IP27 platform code. Signed-off-by: Thomas Bogendoerfer --- arch/mips/sgi-ip27/ip27-timer.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c index 9b4b9ac621a3..5631e93ea350 100644 --- a/arch/mips/sgi-ip27/ip27-timer.c +++ b/arch/mips/sgi-ip27/ip27-timer.c @@ -188,23 +188,3 @@ void hub_rtc_init(cnodeid_t cnode) LOCAL_HUB_S(PI_RT_PEND_B, 0); } } - -static int __init sgi_ip27_rtc_devinit(void) -{ - struct resource res; - - memset(&res, 0, sizeof(res)); - res.start = XPHYSADDR(KL_CONFIG_CH_CONS_INFO(master_nasid)->memory_base + - IOC3_BYTEBUS_DEV0); - res.end = res.start + 32767; - res.flags = IORESOURCE_MEM; - - return IS_ERR(platform_device_register_simple("rtc-m48t35", -1, - &res, 1)); -} - -/* - * kludge make this a device_initcall after ioc3 resource conflicts - * are resolved - */ -late_initcall(sgi_ip27_rtc_devinit); -- 2.13.7