diff options
Diffstat (limited to 'drivers/media/video/samsung/mali/linux/mali_osk_mali.c')
-rw-r--r-- | drivers/media/video/samsung/mali/linux/mali_osk_mali.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/drivers/media/video/samsung/mali/linux/mali_osk_mali.c b/drivers/media/video/samsung/mali/linux/mali_osk_mali.c index ab571c1..3def446 100644 --- a/drivers/media/video/samsung/mali/linux/mali_osk_mali.c +++ b/drivers/media/video/samsung/mali/linux/mali_osk_mali.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 ARM Limited. All rights reserved. + * Copyright (C) 2010-2012 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. @@ -18,27 +18,10 @@ #include "mali_kernel_common.h" /* MALI_xxx macros */ #include "mali_osk.h" /* kernel side OS functions */ #include "mali_uk_types.h" -#include "mali_kernel_linux.h" /* exports initialize/terminate_kernel_device() definition of mali_osk_low_level_mem_init() and term */ +#include "mali_kernel_linux.h" #include <mach/irqs.h> #include "arch/config.h" /* contains the configuration of the arch we are compiling for */ -/* is called from mali_kernel_constructor in common code */ -_mali_osk_errcode_t _mali_osk_init( void ) -{ - if (0 != initialize_kernel_device()) MALI_ERROR(_MALI_OSK_ERR_FAULT); - - mali_osk_low_level_mem_init(); - - MALI_SUCCESS; -} - -/* is called from mali_kernel_deconstructor in common code */ -void _mali_osk_term( void ) -{ - mali_osk_low_level_mem_term(); - terminate_kernel_device(); -} - _mali_osk_errcode_t _mali_osk_resources_init( _mali_osk_resource_t **arch_config, u32 *num_resources ) { *num_resources = sizeof(arch_configuration) / sizeof(arch_configuration[0]); |