AWIN_board not AWIN_BOARD

This commit is contained in:
jmcneill 2014-09-13 02:21:52 +00:00
parent fedb0c6dd6
commit c90aa8a66c

View File

@ -1,4 +1,4 @@
/* $NetBSD: awin_machdep.c,v 1.9 2014/09/13 01:36:07 jmcneill Exp $ */
/* $NetBSD: awin_machdep.c,v 1.10 2014/09/13 02:21:52 jmcneill Exp $ */
/*
* Machine dependent functions for kernel setup for TI OSK5912 board.
@ -125,7 +125,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.9 2014/09/13 01:36:07 jmcneill Exp $");
__KERNEL_RCSID(0, "$NetBSD: awin_machdep.c,v 1.10 2014/09/13 02:21:52 jmcneill Exp $");
#include "opt_machdep.h"
#include "opt_ddb.h"
@ -591,7 +591,7 @@ awin_device_register(device_t self, void *aux)
*/
prop_dictionary_set_cstring(dict, "satapwren",
(cubietruck_p ? ">PH12" : ">PB8"));
#if AWIN_BOARD == AWIN_cubieboard || AWIN_board == AWIN_cubietruck
#if AWIN_board == AWIN_cubieboard || AWIN_board == AWIN_cubietruck
if (cubietruck_p) {
prop_dictionary_set_cstring(dict, "usb0drv", ">PH17");
} else if (awin_chip_id() == AWIN_CHIP_ID_A20) {