Use NULL instead of (bus_dma_tag_t)0.

This commit is contained in:
dyoung 2008-11-06 01:17:24 +00:00
parent 557e8919c2
commit 5c0c1b5199
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.16 2008/04/28 20:23:40 martin Exp $ */
/* $NetBSD: bus.h,v 1.17 2008/11/06 01:17:24 dyoung Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@ -91,7 +91,7 @@ void _x86_memio_unmap(bus_space_tag_t t, bus_space_handle_t bsh,
typedef struct x86_bus_dma_tag *bus_dma_tag_t;
typedef struct x86_bus_dmamap *bus_dmamap_t;
#define BUS_DMA_TAG_VALID(t) ((t) != (bus_dma_tag_t)0)
#define BUS_DMA_TAG_VALID(__t) ((__t) != NULL)
/*
* bus_dma_segment_t