diff options
author | Eric Miao <eric.y.miao@gmail.com> | 2011-10-08 06:19:23 -0400 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-10-08 09:03:04 -0400 |
commit | c9d1917c63274e70958a7e2e8c874c1bca15af0a (patch) | |
tree | 8f8f4d3454c14de3198e7d09aeacad475b549ca7 /drivers/video | |
parent | 8582643a4b2fb9582eb30e1128a509198afe3c74 (diff) |
ARM: pxa: make pxafb_smart_*() empty when not enabled
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/pxafb.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index 0f4e8c942f9e..389530bf1ada 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c | |||
@@ -1309,16 +1309,6 @@ static int pxafb_smart_init(struct pxafb_info *fbi) | |||
1309 | return 0; | 1309 | return 0; |
1310 | } | 1310 | } |
1311 | #else | 1311 | #else |
1312 | int pxafb_smart_queue(struct fb_info *info, uint16_t *cmds, int n_cmds) | ||
1313 | { | ||
1314 | return 0; | ||
1315 | } | ||
1316 | |||
1317 | int pxafb_smart_flush(struct fb_info *info) | ||
1318 | { | ||
1319 | return 0; | ||
1320 | } | ||
1321 | |||
1322 | static inline int pxafb_smart_init(struct pxafb_info *fbi) { return 0; } | 1312 | static inline int pxafb_smart_init(struct pxafb_info *fbi) { return 0; } |
1323 | #endif /* CONFIG_FB_PXA_SMARTPANEL */ | 1313 | #endif /* CONFIG_FB_PXA_SMARTPANEL */ |
1324 | 1314 | ||