Commit 41b8f5d
sof: fix compilation on non X86 platforms
SND_DMA_SGBUF is defined to depend on X86 snd_sgbuf_aligned_pages()
is only defined if SND_DMA_SGBUF iss set. Use PAGE_ALIGN() instead to
avoid the dependency.
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>1 parent 7889a7a commit 41b8f5d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
0 commit comments