Date: Sat, 10 May 2014 21:30:19 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r265858 - head/sys/arm/lpc Message-ID: <201405102130.s4ALUJ5E054052@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405102130.s4ALUJ5E054052>