Re: [PATCH 03/10] device property: Add fwnode_property_read_int_array()

Andy Shevchenko
2025-04-04T11:00:22Z

On Thu, Apr 03, 2025 at 10:36:40PM +0200, Miguel Ojeda wrote:
> On Thu, Apr 3, 2025 at 8:48 PM Rob Herring <robh@kernel.org> wrote:
> >
> > Looks there are RUST_BINDGEN or __BINDGEN__ define which could be used
> > here. Don't need a header, just wrap the declaration. No idea which
> > one would be preferred as there's exactly 1 use of each. Miguel?
>
> If you mean bcachefs' `RUST_BINDGEN`, then I think that one comes from
> bcachefs-tools, i.e. we don't define it.

But is there a way to have a function that is not really exported to be used in
Rust only code?

--
With Best Regards,
Andy Shevchenko