Unbreak after r236658 by comparing the right things.

This commit is contained in:
Marius Strobl 2012-06-18 19:22:10 +00:00
parent f3b44896bb
commit 352a43b07f

View File

@ -197,7 +197,7 @@ static void
at91_identify(driver_t *drv, device_t parent)
{
if (soc_data.type == AT91_CPU_SAM9260) {
if (soc_data.type == AT91_T_SAM9260) {
at91_add_child(parent, 0, "at91sam9260", 0, 0, 0, -1, 0, 0);
at91_cpu_add_builtin_children(parent);
}