summaryrefslogtreecommitdiffstats
path: root/sys/dev/smbus/smbconf.c
diff options
context:
space:
mode:
authornsouch <nsouch@FreeBSD.org>1998-11-22 22:01:42 +0000
committernsouch <nsouch@FreeBSD.org>1998-11-22 22:01:42 +0000
commiteb4cacd5811d8cc0ba8272b8f34e894b6326a222 (patch)
treeeaeedb92d7ccb36f26c5d22b82ec827358ff0d45 /sys/dev/smbus/smbconf.c
parent7f58facc965f93ef5d94072e8d4779668eac7d38 (diff)
downloadFreeBSD-src-eb4cacd5811d8cc0ba8272b8f34e894b6326a222.zip
FreeBSD-src-eb4cacd5811d8cc0ba8272b8f34e894b6326a222.tar.gz
Remove broken and useless intr interface.
Submitted by: Doug Rabson <dfr@nlsystems.com> Amancio Hasty <hasty@rah.star-gate.com> Avoid compile warnings.
Diffstat (limited to 'sys/dev/smbus/smbconf.c')
-rw-r--r--sys/dev/smbus/smbconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/smbus/smbconf.c b/sys/dev/smbus/smbconf.c
index 8fe67db..dbf417b 100644
--- a/sys/dev/smbus/smbconf.c
+++ b/sys/dev/smbus/smbconf.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: smbconf.c,v 1.1.1.1 1998/09/03 20:52:54 nsouch Exp $
+ * $Id: smbconf.c,v 1.2 1998/10/31 11:39:54 nsouch Exp $
*
*/
#include <sys/param.h>
@@ -171,7 +171,7 @@ smbus_release_bus(device_t bus, device_t dev)
u_char
smbus_get_addr(device_t dev)
{
- u_long addr;
+ uintptr_t addr;
device_t parent = device_get_parent(dev);
BUS_READ_IVAR(parent, dev, SMBUS_IVAR_ADDR, &addr);
OpenPOWER on IntegriCloud