Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708 #2057

Merged
merged 1 commit into from
Jun 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/linux/platform_data/dma-bcm2708.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ struct bcm2708_dma_cb {
struct scatterlist;
struct platform_device;

#ifdef CONFIG_DMA_BCM2708
#if defined(CONFIG_DMA_BCM2708) || defined(CONFIG_DMA_BCM2708_MODULE)

int bcm_sg_suitable_for_dma(struct scatterlist *sg_ptr, int sg_len);
void bcm_dma_start(void __iomem *dma_chan_base, dma_addr_t control_block);
Expand Down Expand Up @@ -138,6 +138,6 @@ static inline int bcm_dmaman_remove(struct platform_device *pdev)
return 0;
}

#endif /* CONFIG_DMA_BCM2708 */
#endif /* CONFIG_DMA_BCM2708 || CONFIG_DMA_BCM2708_MODULE */

#endif /* _PLAT_BCM2708_DMA_H */