MODULE_SUPPORTED_DEVICE macro existed in the Kernel 5.9.16, but got removed

Greg KH greg at
Wed Sep 1 01:52:35 EDT 2021

On Mon, Aug 30, 2021 at 09:59:14AM +0300, Adverg Ebashinskii wrote:
> I recently tried to compile my driver developed for the Kernel 5.9.16 using the latest upstream version checked out from git and figured out that there is no more MODULE_SUPPORTED_DEVICE macro.
> Could you please give a hint where to look at for the information on why it was removed?

Find the commit in the git tree that removed it and look at the
changelog text for why it was removed.  I think the text there will
explain it quite well.


greg k-h

More information about the Kernelnewbies mailing list