X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/f9e1149757ece25f25d4c8a1722f1a84d57a5c13..341377103dfdc83d2d52e33d78672366db0efe93:/lincan/src/boardlist.c diff --git a/lincan/src/boardlist.c b/lincan/src/boardlist.c index a52f2d4..7623ea3 100644 --- a/lincan/src/boardlist.c +++ b/lincan/src/boardlist.c @@ -78,6 +78,7 @@ extern int esdpci200_register(struct hwspecops_t *hwspecops); extern int esdpci266_register(struct hwspecops_t *hwspecops); extern int sh7760_register(struct hwspecops_t *hwspecops); extern int mpc5200_register(struct hwspecops_t *hwspecops); +extern int mpc5200_midam_register(struct hwspecops_t *hwspecops); const struct boardtype_t can_boardtypes[]={ #ifdef CONFIG_OC_LINCAN_CARD_template @@ -205,10 +206,7 @@ const struct boardtype_t can_boardtypes[]={ #endif #if defined(CONFIG_OC_LINCAN_CARD_mpc5200) {"mpc5200", mpc5200_register, 0}, - #else - #if defined(CONFIG_OC_LINCAN_CARD_mpc5200_midam) - {"mpc5200", mpc5200_register, 0}, - #endif + {"mpc5200_midam", mpc5200_midam_register, 0}, #endif {NULL} };