Better header files

* Header files isa.h, sensors.h and smbus.h will now be installed on a
  'make install';
* #ifdef __KERNEL__ added to the above header files where appropriate;
* Correct files are included, both if __KERNEL__ is true and false.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@42 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1998-12-06 16:19:24 +00:00
1 parent 831b8e88f3
commit f322a67793
9 files changed
+62 -44

No files matched your search

+2 -2
View File
@@ -20,13 +20,13 @@
#ifndef SENSORS_SENSORS_H
#define SENSORS_SENSORS_H
#ifdef __KERNEL__
/* Next two must be included before sysctl.h can be included, in 2.0 kernels */
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/sysctl.h>
#ifdef __KERNEL__
/* The type of callback functions used in sensors_{proc,sysctl}_real */
typedef void (*sensors_real_callback) (struct i2c_client *client,
int operation, int ctl_name,