File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 66
77struct device ;
88
9- #if defined(CONFIG_STI_CORE )
9+ #if defined(CONFIG_STI_CORE ) && defined( CONFIG_VIDEO )
1010bool video_is_primary_device (struct device * dev );
1111#define video_is_primary_device video_is_primary_device
1212#endif
Original file line number Diff line number Diff line change @@ -19,8 +19,10 @@ static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
1919#define pgprot_framebuffer pgprot_framebuffer
2020#endif
2121
22+ #ifdef CONFIG_VIDEO
2223bool video_is_primary_device (struct device * dev );
2324#define video_is_primary_device video_is_primary_device
25+ #endif
2426
2527static inline void fb_memcpy_fromio (void * to , const volatile void __iomem * from , size_t n )
2628{
Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ pgprot_t pgprot_framebuffer(pgprot_t prot,
1313 unsigned long offset );
1414#define pgprot_framebuffer pgprot_framebuffer
1515
16+ #ifdef CONFIG_VIDEO
1617bool video_is_primary_device (struct device * dev );
1718#define video_is_primary_device video_is_primary_device
19+ #endif
1820
1921#include <asm-generic/video.h>
2022
You can’t perform that action at this time.
0 commit comments