|
@@ -181,6 +181,11 @@ int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci)
|
|
|
} else
|
|
|
printk("%s: i2c register FAILED\n", core->name);
|
|
|
|
|
|
+ return core->i2c_rc;
|
|
|
+}
|
|
|
+
|
|
|
+void cx88_i2c_init_ir(struct cx88_core *core)
|
|
|
+{
|
|
|
/* Instantiate the IR receiver device, if present */
|
|
|
if (0 == core->i2c_rc) {
|
|
|
struct i2c_board_info info;
|
|
@@ -207,7 +212,6 @@ int cx88_i2c_init(struct cx88_core *core, struct pci_dev *pci)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- return core->i2c_rc;
|
|
|
}
|
|
|
|
|
|
/* ----------------------------------------------------------------------- */
|