summaryrefslogtreecommitdiffstats
path: root/sys/dev/sec
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2009-06-13 08:57:04 +0000
committerraj <raj@FreeBSD.org>2009-06-13 08:57:04 +0000
commit1605e27e02880384424fc9ce2943ac4ccf6f3546 (patch)
tree6011c8316f53bb84dddeeb615069d9a1f97289fe /sys/dev/sec
parentc8cae40489b27ad20886df80e81cc2ea12d9d635 (diff)
downloadFreeBSD-src-1605e27e02880384424fc9ce2943ac4ccf6f3546.zip
FreeBSD-src-1605e27e02880384424fc9ce2943ac4ccf6f3546.tar.gz
Fix Book-E/MPC85XX build. Some prototypes were wrong and got revealed with
the recent kobj signature checking.
Diffstat (limited to 'sys/dev/sec')
-rw-r--r--sys/dev/sec/sec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/sec/sec.c b/sys/dev/sec/sec.c
index 65ce014..6b0a62f 100644
--- a/sys/dev/sec/sec.c
+++ b/sys/dev/sec/sec.c
@@ -58,7 +58,7 @@ static int sec_attach(device_t dev);
static int sec_detach(device_t dev);
static int sec_suspend(device_t dev);
static int sec_resume(device_t dev);
-static void sec_shutdown(device_t dev);
+static int sec_shutdown(device_t dev);
static void sec_primary_intr(void *arg);
static void sec_secondary_intr(void *arg);
static int sec_setup_intr(struct sec_softc *sc, struct resource **ires,
@@ -500,9 +500,11 @@ sec_resume(device_t dev)
return (0);
}
-static void
+static int
sec_shutdown(device_t dev)
{
+
+ return (0);
}
static int
OpenPOWER on IntegriCloud