Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9dfd281 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman
Browse files

PCI: scatterlist.h needs types.h



Most architectures' scatterlist.h use the type dma_addr_t, but omit to
include <asm/types.h> which defines it.  This could lead to build failures,
so let's add the missing includes.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e325e1f0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
#define _ALPHA_SCATTERLIST_H

#include <asm/page.h>
#include <asm/types.h>
  
struct scatterlist {
	struct page *page;
+2 −0
Original line number Diff line number Diff line
#ifndef __ASM_AVR32_SCATTERLIST_H
#define __ASM_AVR32_SCATTERLIST_H

#include <asm/types.h>

struct scatterlist {
    struct page		*page;
    unsigned int	offset;
+2 −0
Original line number Diff line number Diff line
#ifndef _ASM_SCATTERLIST_H
#define _ASM_SCATTERLIST_H

#include <asm/types.h>

/*
 * Drivers must set either ->address or (preferred) ->page and ->offset
 * to indicate where data must be transferred to/from.
+2 −0
Original line number Diff line number Diff line
#ifndef _H8300_SCATTERLIST_H
#define _H8300_SCATTERLIST_H

#include <asm/types.h>

struct scatterlist {
	struct page	*page;
	unsigned int	offset;
+2 −0
Original line number Diff line number Diff line
#ifndef _I386_SCATTERLIST_H
#define _I386_SCATTERLIST_H

#include <asm/types.h>

struct scatterlist {
    struct page		*page;
    unsigned int	offset;
Loading