Fix PowerMac ALSA build with device model "name" field change

parent 8fb9a56c
...@@ -50,7 +50,7 @@ struct i2c_driver keywest_driver = { ...@@ -50,7 +50,7 @@ struct i2c_driver keywest_driver = {
#ifndef i2c_device_name #ifndef i2c_device_name
#define i2c_device_name(x) ((x)->dev.name) #define i2c_device_name(x) ((x)->name)
#endif #endif
static int keywest_attach_adapter(struct i2c_adapter *adapter) static int keywest_attach_adapter(struct i2c_adapter *adapter)
......
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