projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c5b240
)
simplefb: Fix build errors when CONFIG_COMMON_CLK is not defined
author
Hans de Goede
<hdegoede@redhat.com>
Tue, 25 Nov 2014 11:13:30 +0000
(12:13 +0100)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Tue, 25 Nov 2014 12:10:28 +0000
(14:10 +0200)
Both CONFIG_OF and CONFIG_COMMON_CLK must be defined to be able to use of
clocks.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/simplefb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/simplefb.c
b/drivers/video/fbdev/simplefb.c
index 8be9754c9fe984fc1fd63b834b26224262efcb45..b2ae9254fd75563ebe4f24686f96b1b3e2e74020 100644
(file)
--- a/
drivers/video/fbdev/simplefb.c
+++ b/
drivers/video/fbdev/simplefb.c
@@
-169,13
+169,13
@@
static int simplefb_parse_pd(struct platform_device *pdev,
struct simplefb_par {
u32 palette[PSEUDO_PALETTE_SIZE];
-#if
def CONFIG_OF
+#if
defined CONFIG_OF && defined CONFIG_COMMON_CLK
int clk_count;
struct clk **clks;
#endif
};
-#if
def CONFIG_OF
+#if
defined CONFIG_OF && defined CONFIG_COMMON_CLK
/*
* Clock handling code.
*