linux - What's the structure member 'pm' in the driver structure? -
what's 'pm' , 'of_match_table' in following spi driver code
static struct platform_driver omap2_mcspi_driver = { .driver = { .name = "omap2_mcspi", .owner = this_module, .pm = &omap2_mcspi_pm_ops, .of_match_table = omap_mcspi_of_match, }, .probe = omap2_mcspi_probe, .remove = omap2_mcspi_remove, };
first, take on from platform device gets name. can find more details on acpi based device enumeration.
Comments
Post a Comment