wm5100_jack_mode
struct wm5100_jack_mode jack_modes[2];
struct wm5100_jack_mode *mode = &wm5100->pdata.jack_modes[the_mode];