Skip to content

Commit

Permalink
of/address: fixup for "Add of_property_read_reg() helper"
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
  • Loading branch information
Stephen Rothwell committed Apr 11, 2023
1 parent fd79902 commit c4597d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/of_address.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static inline const __be32 *__of_get_address(struct device_node *dev, int index,
return NULL;
}

static int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size)
static inline int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size)
{
return -ENOSYS;
}
Expand Down

0 comments on commit c4597d7

Please sign in to comment.