Chris Johns commented: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/100#note_131080


There are more warnings with an `arm` build:

```
In file included from 
../../rtemsbsd/include/machine/rtems-bsd-kernel-space.h:136,
                 from ../../freebsd/sys/dev/sdhci/sdhci_fdt_gpio.c:1:
../../freebsd/sys/dev/sdhci/sdhci_fdt_gpio.c: In function 'cd_setup':
../../rtemsbsd/include/machine/rtems-bsd-kernel-namespace.h:2272:38: error: 
implicit declaration of function '_bsd_gpio_pin_get_by_ofw_property'; did you 
mean 'gpio_pin_get_by_ofw_property'? [-Wimplicit-function-declaration]
 2272 | #define gpio_pin_get_by_ofw_property _bsd_gpio_pin_get_by_ofw_property
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../freebsd/sys/dev/sdhci/sdhci_fdt_gpio.c:105:13: note: in expansion of 
macro 'gpio_pin_get_by_ofw_property'
  105 |         if (gpio_pin_get_by_ofw_property(dev, node, "cd-gpios", 
&gpio->cd_pin))
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

This one looks to be related to the `FDT` define.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/100#note_131080
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to