mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-05 03:16:02 +08:00
if_dwc: Silence warning
This commit is contained in:
parent
36a92dfe8e
commit
13afbe7a80
@ -76,6 +76,9 @@ __FBSDID("$FreeBSD$");
|
||||
#include <dev/mii/mii.h>
|
||||
#include <dev/mii/miivar.h>
|
||||
#include <rtems/bsd/local/miibus_if.h>
|
||||
#ifdef __rtems__
|
||||
#pragma GCC diagnostic ignored "-Wpointer-sign"
|
||||
#endif /* __rtems__ */
|
||||
|
||||
#define READ4(_sc, _reg) \
|
||||
bus_read_4((_sc)->res[0], _reg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user