[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mips-cvs
Subject: MIPS: Cobalt: Do not build MTD platform device registration code as module.
From: linux-mips () linux-mips ! org
Date: 2015-06-10 15:08:54
Message-ID: S27011927AbbFJPI5IdT5V/20150610150857Z+1350 () eddie ! linux-mips ! org
[Download RAW message or body]
Author: Ralf Baechle <ralf@linux-mips.org> Wed Jun 10 10:23:29 2015 +0200
Commit: fed1a49232b9cefa81c0fdc4de13b5ff4ab8246c
Gitweb: http://git.linux-mips.org/g/ralf/linux/fed1a49232b9
Branch: linux-2.6.24-stable
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>
(cherry picked from commit d77f9a96bae6bebb8c1a303cea4235a4fcbe7518)
---
arch/mips/cobalt/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic