diff options
| author | Rafael J. Wysocki <[email protected]> | 2011-03-01 00:12:19 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-03-01 02:00:31 +0000 |
| commit | af06216a8ef1c430cc6ad22b562f3a11a512c5dd (patch) | |
| tree | 8c258db7e165cc160a8c85c3d06afa5f1e07a063 /net/unix/af_unix.c | |
| parent | Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/air... (diff) | |
| download | kernel-af06216a8ef1c430cc6ad22b562f3a11a512c5dd.tar.gz kernel-af06216a8ef1c430cc6ad22b562f3a11a512c5dd.zip | |
ACPI: Fix build for CONFIG_NET unset
Several ACPI drivers fail to build if CONFIG_NET is unset, because
they refer to things depending on CONFIG_THERMAL that in turn depends
on CONFIG_NET. However, CONFIG_THERMAL doesn't really need to depend
on CONFIG_NET, because the only part of it requiring CONFIG_NET is
the netlink interface in thermal_sys.c.
Put the netlink interface in thermal_sys.c under #ifdef CONFIG_NET
and remove the dependency of CONFIG_THERMAL on CONFIG_NET from
drivers/thermal/Kconfig.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Len Brown <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: Luming Yu <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
