Skip to content

Commit

Permalink
staging: agnx: drivers/staging/agnx/agnx.h needs <linux/io.h>
Browse files Browse the repository at this point in the history
On m68k:
drivers/staging/agnx/agnx.h: In function 'agnx_read32':
drivers/staging/agnx/agnx.h:10: error: implicit declaration of function 'ioread32'
drivers/staging/agnx/agnx.h: In function 'agnx_write32':
drivers/staging/agnx/agnx.h:15: error: implicit declaration of function 'iowrite32'
drivers/staging/agnx/sta.c: In function 'get_sta_power':
drivers/staging/agnx/sta.c:94: error: implicit declaration of function 'memcpy_fromio'
drivers/staging/agnx/sta.c: In function 'set_sta_power':
drivers/staging/agnx/sta.c:103: error: implicit declaration of function 'memcpy_toio'

Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
geertu authored and Greg Kroah-Hartman committed Jan 28, 2009
1 parent 1176e83 commit e48d94d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/agnx/agnx.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef AGNX_H_
#define AGNX_H_

#include <linux/io.h>

#include "xmit.h"

#define PFX KBUILD_MODNAME ": "

0 comments on commit e48d94d

Please sign in to comment.