From: Will Deacon Date: Fri, 30 Apr 2010 10:38:39 +0000 (+0100) Subject: ARM: 6074/1: oprofile: convert from sysdev to platform device X-Git-Tag: v2.6.35-rc1~503^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1e86d64bc48dedd0d68d182d0ce6951d8b4fd0d;p=pandora-kernel.git ARM: 6074/1: oprofile: convert from sysdev to platform device This is a reworking of an original patch posted by Aaro Koskinen: oprofile does not work with PM, because sysdev_suspend() is done with interrupts disabled and oprofile needs a mutex. Implementing oprofile as a platform device solves this problem. Cc: Aaro Koskinen Signed-off-by: Will Deacon Signed-off-by: Aaro Koskinen Signed-off-by: Russell King --- Reading git-diff-tree failed