Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101439
b: refs/heads/master
c: 8fa9cc1
h: refs/heads/master
i:
  101437: 6c3558e
  101435: d891319
  101431: 85ecff2
  101423: 44882e2
  101407: 128fc1c
  101375: 41a723b
v: v3
  • Loading branch information
Thomas Bogendoerfer authored and Ralf Baechle committed Jul 15, 2008
1 parent 618e34d commit 488d078
Show file tree
Hide file tree
Showing 2 changed files with 37 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: 7a2852e49fe2d19296812c0f0f833b0ee3043bbb
refs/heads/master: 8fa9cc16f820915fbe8ab6047c420703a87c307e
36 changes: 36 additions & 0 deletions trunk/arch/mips/sgi-ip32/ip32-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,42 @@ static __init int meth_devinit(void)

device_initcall(meth_devinit);

static __init int sgio2audio_devinit(void)
{
struct platform_device *pd;
int ret;

pd = platform_device_alloc("sgio2audio", -1);
if (!pd)
return -ENOMEM;

ret = platform_device_add(pd);
if (ret)
platform_device_put(pd);

return ret;
}

device_initcall(sgio2audio_devinit);

static __init int sgio2btns_devinit(void)
{
struct platform_device *pd;
int ret;

pd = platform_device_alloc("sgio2btns", -1);
if (!pd)
return -ENOMEM;

ret = platform_device_add(pd);
if (ret)
platform_device_put(pd);

return ret;
}

device_initcall(sgio2btns_devinit);

MODULE_AUTHOR("Ralf Baechle <ralf@linux-mips.org>");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("8250 UART probe driver for SGI IP32 aka O2");

0 comments on commit 488d078

Please sign in to comment.