Searched refs:s4985_adapter (Results 1 – 1 of 1) sorted by relevance
30 static struct i2c_adapter *s4985_adapter; variable158 s4985_adapter = kcalloc(5, sizeof(struct i2c_adapter), GFP_KERNEL); in nforce2_s4985_init()159 if (!s4985_adapter) { in nforce2_s4985_init()172 s4985_adapter[0] = *nforce2_smbus; in nforce2_s4985_init()173 s4985_adapter[0].algo = s4985_algo; in nforce2_s4985_init()174 s4985_adapter[0].dev.parent = nforce2_smbus->dev.parent; in nforce2_s4985_init()177 s4985_adapter[i] = *nforce2_smbus; in nforce2_s4985_init()178 snprintf(s4985_adapter[i].name, sizeof(s4985_adapter[i].name), in nforce2_s4985_init()180 s4985_adapter[i].algo = s4985_algo + i; in nforce2_s4985_init()181 s4985_adapter[i].dev.parent = nforce2_smbus->dev.parent; in nforce2_s4985_init()[all …]