From 235d74e73a0f13f288fa6c742f8c9cc29e136c8f Mon Sep 17 00:00:00 2001 From: Dan Eaton Date: Tue, 19 Sep 2000 13:54:20 +0000 Subject: [PATCH] (Dan) Added conditional export of base address for RocketLogix, Inc.. Made some other minor cleanup. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@878 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-ali1535.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/kernel/busses/i2c-ali1535.c b/kernel/busses/i2c-ali1535.c index c6905489..1c4a808d 100644 --- a/kernel/busses/i2c-ali1535.c +++ b/kernel/busses/i2c-ali1535.c @@ -1,11 +1,11 @@ /* - ali1535.c - Part of lm_sensors, Linux kernel modules for hardware - monitoring + i2c-ali1535.c - Part of lm_sensors, Linux kernel modules for hardware + monitoring Copyright (c) 2000 Frodo Looijaard , - Philip Edelbrock , - Mark D. Studebaker , - Dan Eaton and - Stephen Rousset + Philip Edelbrock , + Mark D. Studebaker , + Dan Eaton and + Stephen Rousset This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -83,9 +83,6 @@ #define SMBBA 0x0E2 #define SMBHSTCFG 0x0F0 #define SMBCLK 0x0F2 -/* #define SMBATPC 0x05B used to unlock xxxBA registers */ -/* #define SMBSLVC 0x0E1 slave mode not supported*/ - /* Other settings */ #define MAX_TIMEOUT 500 /* times 1/100 sec */ @@ -643,12 +640,17 @@ int __init ali1535_cleanup(void) return 0; } +#ifdef RLX +EXPORT_SYMBOL(ali1535_smba); +#else EXPORT_NO_SYMBOLS; +#endif #ifdef MODULE MODULE_AUTHOR - ("Frodo Looijaard , Philip Edelbrock , Mark D. Studebaker , Dan Eaton , Philip Edelbrock , + Mark D. Studebaker and Dan Eaton "); MODULE_DESCRIPTION("ALI1535 SMBus driver"); int init_module(void)