Skip to content

Commit

Permalink
Merge tag 'sh-for-linus' of git://github.com/pmundt/linux-sh
Browse files Browse the repository at this point in the history
Pull SuperH fixes from Paul Mundt.

* tag 'sh-for-linus' of git://github.com/pmundt/linux-sh:
  SH: Convert out[bwl] macros to inline functions
  sh: Fix up se7721 GPIOLIB=y build warnings.
  • Loading branch information
torvalds committed Jul 13, 2012
2 parents e7654c1 + 4403310 commit 68394bf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions arch/sh/include/asm/io_noioport.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,20 @@ static inline u32 inl(unsigned long addr)
return -1;
}

#define outb(x, y) BUG()
#define outw(x, y) BUG()
#define outl(x, y) BUG()
static inline void outb(unsigned char x, unsigned long port)
{
BUG();
}

static inline void outw(unsigned short x, unsigned long port)
{
BUG();
}

static inline void outl(unsigned int x, unsigned long port)
{
BUG();
}

#define inb_p(addr) inb(addr)
#define inw_p(addr) inw(addr)
Expand Down
2 changes: 1 addition & 1 deletion arch/sh/kernel/cpu/sh3/serial-sh7720.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <linux/serial_core.h>
#include <linux/io.h>
#include <cpu/serial.h>
#include <asm/gpio.h>
#include <cpu/gpio.h>

static void sh7720_sci_init_pins(struct uart_port *port, unsigned int cflag)
{
Expand Down

0 comments on commit 68394bf

Please sign in to comment.