Commit a8183ebb authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] fix saa7146 kobject register failure

Whoops.

kobject_register failed for hexium HV-PCI6/Orion (-13)
[<c01d3eb6>] kobject_register+0x31/0x47
[<c023a996>] bus_add_driver+0x4a/0xfd
[<c01de3c1>] __pci_register_driver+0x82/0xa4
[<d083400a>] hexium_init_module+0xa/0x47 [hexium_orion]
[<c013bdae>] sys_init_module+0x167b/0x1822
[<c01633f7>] do_sync_read+0xb8/0xf3
[<c0133fa3>] autoremove_wake_function+0x0/0x2d
[<c0145390>] audit_syscall_entry+0x118/0x13f
[<c0106ae2>] do_syscall_trace+0x104/0x14a
[<c0103d21>] syscall_call+0x7/0xb

slashes in kobject names aren't allowed.
Signed-off-by: default avatarDave Jones <davej@redhat.com>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bb3c190e
...@@ -484,7 +484,7 @@ static struct saa7146_ext_vv vv_data = { ...@@ -484,7 +484,7 @@ static struct saa7146_ext_vv vv_data = {
}; };
static struct saa7146_extension extension = { static struct saa7146_extension extension = {
.name = "hexium HV-PCI6/Orion", .name = "hexium HV-PCI6 Orion",
.flags = 0, // SAA7146_USE_I2C_IRQ, .flags = 0, // SAA7146_USE_I2C_IRQ,
.pci_tbl = &pci_tbl[0], .pci_tbl = &pci_tbl[0],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment