Ben Dooks wrote:
+#ifndef CONFIG_X86 writel(i2c->slave_addr, _ISAR(i2c)); +#endif
I'd prefer some way of changing based on either the device name (see some other drivers which bind on multiple names) to define things such as this, as well as possibly changing the register layout.
Okay, I will hide this ISAR access a platform_device_id id. Do you want me to also change the register access? This would be a intrusive patch since I would have to touch every readl()/writel() line in this file. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html