On Fri, 24 Nov 2017, Greg Kroah-Hartman wrote:
But what happens when the bus code is unloaded if it is built as a
module? The devices will be removed then. Or they should be.
This bus driver is not a module.
It can not be built as a module ever?
That's right:
$ cat arch/m68k/Kconfig.bus
...
config NUBUS
bool
depends on MAC
default y
I don't plan to convert this bus driver to a module, but this patch series
would make that conversion more difficult, should it happen in future.
Therefore I plan to revise this submission to avoid or remove the existing
global nubus_boards list, because the use of this list means that a
hypothetical device_put() call is not allowable.
You may wish to disregard this submission.
Thanks.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html