blob: 7580cad63a0f789dcb82ccb5dc128226747e79ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/* linux/arch/arm/mach-exynos/setup-mfc.c
*
* Copyright (c) 2009-2011 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Base Exynos4 MFC configuration
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/fb.h>
#include <linux/gpio.h>
#include <linux/clk.h>
#include <plat/fb.h>
#include <plat/gpio-cfg.h>
#include <plat/clock.h>
#include <plat/s5p-mfc.h>
#include <mach/regs-clock.h>
#include <mach/map.h>
unsigned int mfc_clk_rate;
int exynos4_mfc_setup_clock(struct device *dev,
unsigned long clock_rate)
{
mfc_clk_rate = clock_rate;
return 0;
}
void s5p_mfc_setname(struct platform_device *pdev, char *name)
{
pdev->name = name;
}
|