]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/mousse/m48t59y.c
board: powerpc: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / mousse / m48t59y.c
index 2c1e6cf8b7c151936e7a27107c075e57649722fd..9a70dbeab16fa81f2ddf30f3641506212f3fed99 100644 (file)
@@ -8,23 +8,7 @@
  *
  * (C) Copyright 2001, James Dougherty, 07/18/01, Broadcom Corp.
  *
- * 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+
  */
 
 /*
@@ -299,8 +283,7 @@ rtc_get( struct rtc_time *tmp )
        return 0;
 }
 
-void
-rtc_set( struct rtc_time *tmp )
+int rtc_set( struct rtc_time *tmp )
 {
        m48_tod_set(tmp->tm_year,               /* 1980-2079 */
                    tmp->tm_mon,                /* 01-12 */
@@ -315,6 +298,7 @@ rtc_set( struct rtc_time *tmp )
                tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
 #endif
 
+       return 0;
 }
 
 void