Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp697327imm; Thu, 26 Jul 2018 10:22:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpedcP79++xDe/4/cBPHeG3Jc57LclcRXiEOHPcN6hL5Vzh9jnxWRKFLzBjJDiHCk3Yywdz4 X-Received: by 2002:a62:6eca:: with SMTP id j193-v6mr3031006pfc.256.1532625762011; Thu, 26 Jul 2018 10:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532625761; cv=none; d=google.com; s=arc-20160816; b=BnvucDvYMzG30OqVQDIuX1ojMTTpc+BUY/Vn1vI3cx7DvaTf+0mQTYz3kO5mPpQDwQ Y0v2yBwV2E2vS9BY1LauXoo1AvlXRPgf8UvFP5itNmiVDxGZ1E2l0RuC4GOh8A2rV2R5 kBLsOTCoTNBcLFRQMJSiktke2gq4iVl/JXxU8VYTaFBQ3pSO1V5M8nPsek870oTyyASk SWfevuXweBwwoT+H//CLeHXml/dCVZ/mM+EYMaqlIUPd2GyN3QOfp/Sc8wiAEfDVhVjG lQPEFUMNRA0n8EDduEtH8poICR2LF1Du6+XFTvbuyIBQurzS86v67Mb8vnu/AXPFUnej TgeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=lIylBGe29heabuAw/xkbH85oVog7k0FI1Uxs4EDAXy4=; b=O7jf8S/e9nMd9TdSiR6XVK4mUFVBXdiflnw9+ZIeRDc63nKkocksz41xO8RsWylRxl yzWWTJH+ejj/jc4CdSXpn52nYPDZVzwSNLgTfeGyBsFP0YJ2EFrKCXHm0qGEqxgPxpxw kd7rcarKIT9KKlKK57ZAaNbkkWtwtu0A+9107ol9+yKHzd6YmuEmq/vkmz8C6mrcGrTC SjzYiW2wHM1ZUmxm6ths7f9ZR1AtcUQBend24/AsV3/vXl2/ReMJQrTqf6Fh/7DDs4IB rpnCiYvoqMPlP200i1CaVK8gOtWmv/LZvYuADVbyMC21R320p8/5CgncVnhQ4MHGgEJs 4pwQ== 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 a75-v6si1920902pfc.106.2018.07.26.10.22.26; Thu, 26 Jul 2018 10:22:41 -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 S2387912AbeGZR6q (ORCPT + 99 others); Thu, 26 Jul 2018 13:58:46 -0400 Received: from mail.bootlin.com ([62.4.15.54]:38647 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730030AbeGZR6q (ORCPT ); Thu, 26 Jul 2018 13:58:46 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 1BE0520908; Thu, 26 Jul 2018 18:41:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [88.128.80.18]) by mail.bootlin.com (Postfix) with ESMTPSA id D526B20893; Thu, 26 Jul 2018 18:40:56 +0200 (CEST) From: Alexandre Belloni To: James Hogan , Paul Burton Cc: Ralf Baechle , linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Alexandre Belloni Subject: [PATCH] MIPS: TXx9: remove useless RTC definitions Date: Thu, 26 Jul 2018 18:40:54 +0200 Message-Id: <20180726164054.9092-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The RTC definitions were moved to the driver, remove them from the platform header. Signed-off-by: Alexandre Belloni --- arch/mips/include/asm/txx9/tx4939.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/arch/mips/include/asm/txx9/tx4939.h b/arch/mips/include/asm/txx9/tx4939.h index 6d667087f2aa..f173bef405d3 100644 --- a/arch/mips/include/asm/txx9/tx4939.h +++ b/arch/mips/include/asm/txx9/tx4939.h @@ -101,13 +101,6 @@ struct tx4939_irc_reg { struct tx4939_le_reg maskext; }; -struct tx4939_rtc_reg { - __u32 ctl; - __u32 adr; - __u32 dat; - __u32 tbc; -}; - struct tx4939_crypto_reg { struct tx4939_le_reg csr; struct tx4939_le_reg idesptr; @@ -369,26 +362,6 @@ struct tx4939_vpc_desc { #define TX4939_CLKCTR_SIO0RST 0x00000002 #define TX4939_CLKCTR_CYPRST 0x00000001 -/* - * RTC - */ -#define TX4939_RTCCTL_ALME 0x00000080 -#define TX4939_RTCCTL_ALMD 0x00000040 -#define TX4939_RTCCTL_BUSY 0x00000020 - -#define TX4939_RTCCTL_COMMAND 0x00000007 -#define TX4939_RTCCTL_COMMAND_NOP 0x00000000 -#define TX4939_RTCCTL_COMMAND_GETTIME 0x00000001 -#define TX4939_RTCCTL_COMMAND_SETTIME 0x00000002 -#define TX4939_RTCCTL_COMMAND_GETALARM 0x00000003 -#define TX4939_RTCCTL_COMMAND_SETALARM 0x00000004 - -#define TX4939_RTCTBC_PM 0x00000080 -#define TX4939_RTCTBC_COMP 0x0000007f - -#define TX4939_RTC_REG_RAMSIZE 0x00000100 -#define TX4939_RTC_REG_RWBSIZE 0x00000006 - /* * CRYPTO */ -- 2.18.0