一个驱动匹配多个器件

1. 一个驱动中要匹配多个器件

drivers/media/i2c/adv748x/adv748x-core.c
static const struct of_device_id adv748x_of_table[] = {
    { .compatible = "adi,adv7481", },
    { .compatible = "adi,adv7482", },
    { }
};

 

posted on 2018-05-28 15:53  Hello-World3  阅读(245)  评论(0编辑  收藏  举报

导航