static int __init h3600_uda1341_init(void) { int ret = -ENODEV; if (!machine_is_h3600() || machine_is_h3100() || machine_is_h3800()) ret = driver_register(&h3x00_audio_driver); return ret; }
static int __init h3600_init_model_ops(void) { if (machine_is_h3xxx()) { if (machine_is_h3100()) { ipaq_model_ops = h3100_model_ops; } else if (machine_is_h3600()) { ipaq_model_ops = h3600_model_ops; } else if (machine_is_h3800()) { ipaq_model_ops = h3800_model_ops; } init_h3600_egpio(); } return 0; }