https://github.com/torvalds/linux
Revision 34b1252bd91851f77f89fbb6829a04efad900f41 authored by Ralf Baechle on 10 June 2015, 08:23:29 UTC, committed by Ralf Baechle on 10 June 2015, 08:39:30 UTC
If CONFIG_MTD_PHYSMAP is set to m, the Cobalt mtd.ko module might get
unloaded while the drivers/mtd modules are still loaded resulting in
stale references to the destroyed platform_device instance.

Anyway, platform devices should always be registered indicated what
devices are present, _not_ what drivers have been configured.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 36f6ea2
History
Tip revision: 34b1252bd91851f77f89fbb6829a04efad900f41 authored by Ralf Baechle on 10 June 2015, 08:23:29 UTC
MIPS: Cobalt: Do not build MTD platform device registration code as module.
Tip revision: 34b1252
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 303.1 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top