mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-13 17:00:15 +00:00
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:
1 parent
831b8e88f3
commit
f322a67793
9 files changed
+62
-44
No files matched your search
@@ -26,7 +26,6 @@
|
||||
OK, earlier versions are not; later versions will probably give problems
|
||||
too.
|
||||
*/
|
||||
#include "i2c.h"
|
||||
#include <asm/types.h>
|
||||
|
||||
/* SPINLOCK is defined in i2c.h. */
|
||||
@@ -36,6 +35,12 @@
|
||||
#include <asm/semaphore.h>
|
||||
#endif
|
||||
|
||||
#ifdef LM_SENSORS
|
||||
#include "i2c.h"
|
||||
#else
|
||||
#include <linux/i2c.h>
|
||||
#endif
|
||||
|
||||
/* Declarations, to keep the compiler happy */
|
||||
struct smbus_driver;
|
||||
struct smbus_client;
|
||||
|
||||
Reference in new issue
Block a user