Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163474
b: refs/heads/master
c: 045a4b7
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Aug 20, 2009
1 parent d0b856a commit c81ad11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e89561cf49bb7f83b48067924470d313e2d570a9
refs/heads/master: 045a4b7ee73764131c39733de7d06e8c553f805a
7 changes: 7 additions & 0 deletions trunk/arch/sh/boards/mach-kfr2r09/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ static struct platform_device *kfr2r09_devices[] __initdata = {
#define BSC_CS4WCR 0xfec10030
#define PORT_MSELCRB 0xa4050182

#ifdef CONFIG_I2C
static int kfr2r09_usb0_gadget_i2c_setup(void)
{
struct i2c_adapter *a;
Expand Down Expand Up @@ -261,6 +262,12 @@ static int kfr2r09_usb0_gadget_i2c_setup(void)

return 0;
}
#else
static int kfr2r09_usb0_gadget_i2c_setup(void)
{
return -ENODEV;
}
#endif

static int kfr2r09_usb0_gadget_setup(void)
{
Expand Down

0 comments on commit c81ad11

Please sign in to comment.