diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2013-02-11 08:20:21 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2013-02-11 08:20:21 +0000 |
commit | 49c303e64be39830f99150f59e7d1c79885336c1 (patch) | |
tree | c635e09ebabe5cd6bbba68764609417449eccb3e /sys/powerpc | |
parent | 906d1d613340d36851f0da6a51def2041c6b087b (diff) | |
download | FreeBSD-src-49c303e64be39830f99150f59e7d1c79885336c1.zip FreeBSD-src-49c303e64be39830f99150f59e7d1c79885336c1.tar.gz |
Use DEVMETHOD_END.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/wii/wii_gpio.c | 2 | ||||
-rw-r--r-- | sys/powerpc/wii/wii_ipc.c | 2 | ||||
-rw-r--r-- | sys/powerpc/wii/wii_pic.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/wii/wii_gpio.c b/sys/powerpc/wii/wii_gpio.c index fbc3118..40af773 100644 --- a/sys/powerpc/wii/wii_gpio.c +++ b/sys/powerpc/wii/wii_gpio.c @@ -86,7 +86,7 @@ static device_method_t wiigpio_methods[] = { DEVMETHOD(gpio_pin_set, wiigpio_pin_set), DEVMETHOD(gpio_pin_toggle, wiigpio_pin_toggle), - { 0, 0 }, + DEVMETHOD_END }; static driver_t wiigpio_driver = { diff --git a/sys/powerpc/wii/wii_ipc.c b/sys/powerpc/wii/wii_ipc.c index 0db4aad..7f49d31 100644 --- a/sys/powerpc/wii/wii_ipc.c +++ b/sys/powerpc/wii/wii_ipc.c @@ -57,7 +57,7 @@ static device_method_t wiiipc_methods[] = { DEVMETHOD(device_probe, wiiipc_probe), DEVMETHOD(device_attach, wiiipc_attach), - { 0, 0 }, + DEVMETHOD_END }; static driver_t wiiipc_driver = { diff --git a/sys/powerpc/wii/wii_pic.c b/sys/powerpc/wii/wii_pic.c index 4088677..e6c6ae4 100644 --- a/sys/powerpc/wii/wii_pic.c +++ b/sys/powerpc/wii/wii_pic.c @@ -73,7 +73,7 @@ static device_method_t wiipic_methods[] = { DEVMETHOD(pic_mask, wiipic_mask), DEVMETHOD(pic_unmask, wiipic_unmask), - { 0, 0 }, + DEVMETHOD_END }; static driver_t wiipic_driver = { |