[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 14:50:08
Message-ID: S27012253AbbFJOuKrjsJV/20150610145010Z+1335 () 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: e4c2cce983abade2560b9ad4282df3c08e48bafa
Gitweb: http://git.linux-mips.org/g/ralf/linux/e4c2cce983ab
Branch: linux-2.6.30-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