Skip to content

Commit

Permalink
[PATCH] iomap_copy fallout (m68k)
Browse files Browse the repository at this point in the history
added __raw_writel(), sanitized include order in iomap_copy.c

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Feb 18, 2006
1 parent cead14d commit ad6b97f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/asm-m68k/raw_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf,
: "d0", "a0", "a1", "d6");
}

#define __raw_writel raw_outl

#endif /* __KERNEL__ */

Expand Down
2 changes: 1 addition & 1 deletion lib/iomap_copy.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/

#include <linux/io.h>
#include <linux/module.h>
#include <linux/io.h>

/**
* __iowrite32_copy - copy data to MMIO space, in 32-bit units
Expand Down

0 comments on commit ad6b97f

Please sign in to comment.