ARM: mali400: r4p0_rel0: fix build errors
authorJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 28 Jul 2016 00:58:10 +0000 (09:58 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 28 Jul 2016 01:09:46 +0000 (10:09 +0900)
Now occurs below build errors with -Werror=date-time. Remove code using
__DATE__ and __TIME__ to fix build errors.

drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c: In function 'mali_module_init':
drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c:338:71: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
  MALI_DEBUG_PRINT(2, ("Compiled: %s, time: %s.\n", __DATE__, __TIME__));
                                                                       ^
drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c:338:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
  MALI_DEBUG_PRINT(2, ("Compiled: %s, time: %s.\n", __DATE__, __TIME__));

Change-Id: I3cb0d55619afdffee618b2ae84c9b5c600aae196
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/gpu/arm/mali400/r4p0_rel0/linux/mali_kernel_linux.c

index b6002449a7e23fc91c93bcd2db24811d64579bc5..9669a33b0c0d2a8d1ae1fc222dff7b7771c9b8a6 100644 (file)
@@ -335,7 +335,6 @@ int mali_module_init(void)
        int err = 0;
 
        MALI_DEBUG_PRINT(2, ("Inserting Mali v%d device driver. \n",_MALI_API_VERSION));
-       MALI_DEBUG_PRINT(2, ("Compiled: %s, time: %s.\n", __DATE__, __TIME__));
        MALI_DEBUG_PRINT(2, ("Driver revision: %s\n", SVN_REV_STRING));
 
 #if MALI_ENABLE_CPU_CYCLES