Skip to content

Commit

Permalink
drivers: dma: Include appropriate header file in dca.c
Browse files Browse the repository at this point in the history
Includes an appropriate header file dma_v2.h in ioat/dca.c because
functions ioat2_dca_init() and ioat3_dca_init() have their function
declarations in dma_v2.h.

This eliminates the following warning in ioat/dca.c:
drivers/dma/ioat/dca.c:410:22: warning: no previous prototype for ‘ioat2_dca_init’ [-Wmissing-prototypes]
drivers/dma/ioat/dca.c:624:22: warning: no previous prototype for ‘ioat3_dca_init’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
Rashika authored and Dan Williams committed Apr 10, 2014
1 parent 8d1d327 commit 2358b82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/dma/ioat/dca.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@

#include "dma.h"
#include "registers.h"
#include "dma_v2.h"

/*
* Bit 7 of a tag map entry is the "valid" bit, if it is set then bits 0:6
Expand Down

0 comments on commit 2358b82

Please sign in to comment.