diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2008-04-17 01:14:33 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 01:14:33 +0200 |
commit | fabd3a223a96de1a91b2148655f2ed09ca9d1c20 (patch) | |
tree | 46e3d726532a8bdb5d1f57aef28a4509c87dfc45 /include | |
parent | 09a77441f27f51f5f9878c90c7ed67e303197a2a (diff) |
Au1200: IDE driver build fix
The driver fails to compile with CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA enabled:
drivers/ide/mips/au1xxx-ide.c: In function `auide_build_dmatable':
drivers/ide/mips/au1xxx-ide.c:256: error: implicit declaration of function
`sg_virt'
drivers/ide/mips/au1xxx-ide.c:275: error: implicit declaration of function
`sg_next'
drivers/ide/mips/au1xxx-ide.c:275: warning: assignment makes pointer from
integer without a cast
Fix this by including <linux/scatterlist.h>. While at it, remove the #include's
without which the driver happily builds.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions