summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc/sdhcvar.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-27 15:41:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-27 15:41:44 +0000
commit331492432b764b736a5ddc8faa96012393835159 (patch)
tree7cbbf877146d72530b6aa3186fb9640dbdee133e /sys/dev/sdmmc/sdhcvar.h
parent7d42a1044afc9860604cb60a5b4df01e9c9a6600 (diff)
Improve sdhc_activate, and make sdhc_powerhook a simple wrapper around
it for now ok kettenis
Diffstat (limited to 'sys/dev/sdmmc/sdhcvar.h')
-rw-r--r--sys/dev/sdmmc/sdhcvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdhcvar.h b/sys/dev/sdmmc/sdhcvar.h
index be883e395e5..ae035232689 100644
--- a/sys/dev/sdmmc/sdhcvar.h
+++ b/sys/dev/sdmmc/sdhcvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdhcvar.h,v 1.3 2007/09/06 08:01:01 jsg Exp $ */
+/* $OpenBSD: sdhcvar.h,v 1.4 2010/08/27 15:41:43 deraadt Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -33,7 +33,8 @@ struct sdhc_softc {
/* Host controller functions called by the attachment driver. */
int sdhc_host_found(struct sdhc_softc *, bus_space_tag_t,
bus_space_handle_t, bus_size_t, int);
-void sdhc_power(int, void *);
+int sdhc_activate(struct device *, int);
+void sdhc_powerhook(int, void *);
void sdhc_shutdown(void *);
int sdhc_intr(void *);