From owner-svn-src-head@FreeBSD.ORG Sat May 10 21:30:20 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4CE51D27; Sat, 10 May 2014 21:30:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 3A2F3C37; Sat, 10 May 2014 21:30:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4ALUKpe054055; Sat, 10 May 2014 21:30:20 GMT (envelope-from andrew@svn.freebsd.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4ALUJ5E054052; Sat, 10 May 2014 21:30:19 GMT (envelope-from andrew@svn.freebsd.org) Message-Id: <201405102130.s4ALUJ5E054052@svn.freebsd.org> From: Andrew Turner Date: Sat, 10 May 2014 21:30:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r265858 - head/sys/arm/lpc 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.18 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: Sat, 10 May 2014 21:30:20 -0000 Author: andrew Date: Sat May 10 21:30:19 2014 New Revision: 265858 URL: http://svnweb.freebsd.org/changeset/base/265858 Log: Rename platform_gpio_init to be SoC specific Modified: head/sys/arm/lpc/lpc_gpio.c head/sys/arm/lpc/lpc_machdep.c head/sys/arm/lpc/lpcvar.h Modified: head/sys/arm/lpc/lpc_gpio.c ============================================================================== --- head/sys/arm/lpc/lpc_gpio.c Sat May 10 21:27:47 2014 (r265857) +++ head/sys/arm/lpc/lpc_gpio.c Sat May 10 21:30:19 2014 (r265858) @@ -504,7 +504,7 @@ lpc_gpio_get_state(device_t dev, int pin } void -platform_gpio_init() +lpc_gpio_init() { bus_space_tag_t bst; bus_space_handle_t bsh; Modified: head/sys/arm/lpc/lpc_machdep.c ============================================================================== --- head/sys/arm/lpc/lpc_machdep.c Sat May 10 21:27:47 2014 (r265857) +++ head/sys/arm/lpc/lpc_machdep.c Sat May 10 21:30:19 2014 (r265858) @@ -78,7 +78,7 @@ initarm_gpio_init(void) /* * Set initial values of GPIO output ports */ - platform_gpio_init(); + lpc_gpio_init(); } void Modified: head/sys/arm/lpc/lpcvar.h ============================================================================== --- head/sys/arm/lpc/lpcvar.h Sat May 10 21:27:47 2014 (r265857) +++ head/sys/arm/lpc/lpcvar.h Sat May 10 21:30:19 2014 (r265858) @@ -38,7 +38,7 @@ uint32_t lpc_pwr_read(device_t, int); void lpc_pwr_write(device_t, int, uint32_t); /* GPIO */ -void platform_gpio_init(void); +void lpc_gpio_init(void); int lpc_gpio_set_flags(device_t, int, int); int lpc_gpio_set_state(device_t, int, int); int lpc_gpio_get_state(device_t, int, int *);