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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -