mirror of https://gitee.com/openkylin/linux.git
[PATCH] m32r: class_device -> device fallout
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
72401339b5
commit
ccbe48f761
|
@ -722,7 +722,7 @@ static int __init init_m32r_pcc(void)
|
|||
/* Set up interrupt handler(s) */
|
||||
|
||||
for (i = 0 ; i < pcc_sockets ; i++) {
|
||||
socket[i].socket.dev.dev = &pcc_device.dev;
|
||||
socket[i].socket.dev.parent = &pcc_device.dev;
|
||||
socket[i].socket.ops = &pcc_operations;
|
||||
socket[i].socket.resource_ops = &pccard_static_ops;
|
||||
socket[i].socket.owner = THIS_MODULE;
|
||||
|
|
Loading…
Reference in New Issue