From owner-svn-src-head@freebsd.org Sun Dec 20 19:09:14 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31CACA4EA50; Sun, 20 Dec 2015 19:09:14 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 025FE1E40; Sun, 20 Dec 2015 19:09:13 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBKJ9Dwj038613; Sun, 20 Dec 2015 19:09:13 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBKJ9DVS038612; Sun, 20 Dec 2015 19:09:13 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201512201909.tBKJ9DVS038612@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Sun, 20 Dec 2015 19:09:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292519 - head/sys/mips/include X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2015 19:09:14 -0000 Author: ian Date: Sun Dec 20 19:09:12 2015 New Revision: 292519 URL: https://svnweb.freebsd.org/changeset/base/292519 Log: Tidy up mips ofw_machdep.h. Don't include openfirm.h because openfirm.h is what includes machine/ofw_machdep.h. Don't declare OF_decode_addr(); it isn't implemented yet on mips and the declaration for it is about to be commonized into openfirm.h. Modified: head/sys/mips/include/ofw_machdep.h Modified: head/sys/mips/include/ofw_machdep.h ============================================================================== --- head/sys/mips/include/ofw_machdep.h Sun Dec 20 18:02:13 2015 (r292518) +++ head/sys/mips/include/ofw_machdep.h Sun Dec 20 19:09:12 2015 (r292519) @@ -32,7 +32,6 @@ #include #include #include -#include typedef uint32_t cell_t; struct mem_region { @@ -40,8 +39,6 @@ struct mem_region { vm_size_t mr_size; }; - -int OF_decode_addr(phandle_t, int, bus_space_tag_t *, bus_space_handle_t *); void OF_getetheraddr(device_t dev, u_char *addr); void OF_initial_setup(void *fdt_ptr, void *junk, int (*openfirm)(void *));