From: Randy Dunlap Date: Mon, 7 Feb 2011 05:57:18 +0000 (-0800) Subject: kobject.h: fix build when CONFIG_HOTPLUG is disabled X-Git-Tag: v2.6.39-rc1~471^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38360a284f8acab4ae431b387c05a4e19ff4129;p=pandora-kernel.git kobject.h: fix build when CONFIG_HOTPLUG is disabled When CONFIG_HOTPLUG is not enabled, the inline function add_uevent_var() needs to have its __attribute__ before the function name/parameters, otherwise there are syntax errors. linux-next-20110207/include/linux/kobject.h:232: error: expected ',' or ';' before '{' token Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed