]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/gpio/mpc83xx_gpio.c
S5P: Exynos: Add GPIO pin numbering and rename definitions
[karo-tx-uboot.git] / drivers / gpio / mpc83xx_gpio.c
index a9afcb2dd6f1a7356b302f6ab74b87bb8aa52e78..92b6e0cb76da3942199ff2a15a58068c4dba7f10 100644 (file)
@@ -1,23 +1,7 @@
 /*
  * Freescale MPC83xx GPIO handling.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -163,7 +147,7 @@ int gpio_set_value(unsigned gpio, int value)
 }
 
 /* Configure GPIO registers early */
-void mpc83xx_gpio_init_f()
+void mpc83xx_gpio_init_f(void)
 {
        immap_t *im = (immap_t *)CONFIG_SYS_IMMR;
 
@@ -187,7 +171,7 @@ void mpc83xx_gpio_init_f()
 }
 
 /* Initialize GPIO soft-copies */
-void mpc83xx_gpio_init_r()
+void mpc83xx_gpio_init_r(void)
 {
 #if MPC83XX_GPIO_CTRLRS >= 1
        gpio_output_value[0] = CONFIG_MPC83XX_GPIO_0_INIT_VALUE;