Skip to content

Commit 71fa1a4

Browse files
sfrothwelltorvalds
authored andcommitted
thunderbolt: merge fix for kunix_resource changes
Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 06a81c1 commit 71fa1a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/thunderbolt/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ static int __ida_init(struct kunit_resource *res, void *context)
1717
struct ida *ida = context;
1818

1919
ida_init(ida);
20-
res->allocation = ida;
20+
res->data = ida;
2121
return 0;
2222
}
2323

2424
static void __ida_destroy(struct kunit_resource *res)
2525
{
26-
struct ida *ida = res->allocation;
26+
struct ida *ida = res->data;
2727

2828
ida_destroy(ida);
2929
}

0 commit comments

Comments
 (0)