Skip to content

Commit c777ee1

Browse files
committed
fwnode: Fix kabi breakage due to reference count interface
deepin inclusion category: kabi Fixes: 12cd73c ("Add a property reference count interface for ACPI.") Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent aac1193 commit c777ee1

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

include/linux/fwnode.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,10 @@ struct fwnode_operations {
171171
void __iomem *(*iomap)(struct fwnode_handle *fwnode, int index);
172172
int (*irq_get)(const struct fwnode_handle *fwnode, unsigned int index);
173173
int (*add_links)(struct fwnode_handle *fwnode);
174-
int (*property_count_reference_with_args)(
175-
const struct fwnode_handle *fwnode, const char *list_name,
176-
const char *cells_name);
177174

178-
DEEPIN_KABI_RESERVE(1)
175+
DEEPIN_KABI_USE(1, int (*property_count_reference_with_args)(
176+
const struct fwnode_handle *fwnode, const char *list_name,
177+
const char *cells_name));
179178
DEEPIN_KABI_RESERVE(2)
180179
DEEPIN_KABI_RESERVE(3)
181180
DEEPIN_KABI_RESERVE(4)

0 commit comments

Comments
 (0)