What is this MODULE_ALIAS() use for?

Perr Zhang strongbox8 at zoho.com
Fri Dec 9 20:27:22 EST 2016


source code:

MODULE_ALIAS("platform:sm501");

static const struct of_device_id of_sm501_match_tbl[] = {
    { .compatible = "smi,sm501", },
    { /* end */ }
};
MODULE_DEVICE_TABLE(of, of_sm501_match_tbl);




More information about the Kernelnewbies mailing list