diff options
author | Michal Schmidt <xschmi00@stud.feec.vutbr.cz> | 2007-05-08 00:24:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:00 -0700 |
commit | ee7b9e3706b9c5f90113eb16a1a84a1c01e09f95 (patch) | |
tree | cefd066af5ddf6f761790882efd4c7365f6538a0 /drivers/hwmon/applesmc.c | |
parent | 46595390e97b3ab2741a36f5ff69e8f6033fa9c0 (diff) | |
download | kernel_samsung_smdk4412-ee7b9e3706b9c5f90113eb16a1a84a1c01e09f95.zip kernel_samsung_smdk4412-ee7b9e3706b9c5f90113eb16a1a84a1c01e09f95.tar.gz kernel_samsung_smdk4412-ee7b9e3706b9c5f90113eb16a1a84a1c01e09f95.tar.bz2 |
Fix compilation of drivers with -O0
It is sometimes useful to compile individual drivers with optimization
disabled for easier debugging. Currently drivers which use htonl() and
similar functions don't compile with -O0. This patch fixes it. It also
removes obsolete and misleading comments. This header is not for
userspace, so we don't have to care about strange programs these comments
mention.
(akpm: -O0 probably isn't a good idea, but this code looks pretty crufty and
unuseful)
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/applesmc.c')
0 files changed, 0 insertions, 0 deletions