From: Ulf Hansson Date: Mon, 29 Sep 2014 11:58:47 +0000 (+0200) Subject: PM / Domains: Move dev_pm_domain_attach|detach() to pm_domain.h X-Git-Tag: fixes-against-v3.18-rc2~138^2~5^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f48c767ce8951e30eb716b8ef69142d21aacbd1d;p=pandora-kernel.git PM / Domains: Move dev_pm_domain_attach|detach() to pm_domain.h The commit 46420dd73b80 (PM / Domains: Add APIs to attach/detach a PM domain for a device) started using errno values in pm.h header file. It also failed to include the header for these, thus it caused compiler errors. Instead of including the errno header to pm.h, let's move the functions to pm_domain.h, since it's a better match. Fixes: 46420dd73b80 (PM / Domains: Add APIs to attach/detach a PM domain for a device) Signed-off-by: Ulf Hansson Acked-by: Geert Uytterhoeven Acked-by: Wolfram Sang Acked-by: Mark Brown Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed