diff options
author | Rafal Jaworowski <raj@FreeBSD.org> | 2009-06-13 08:57:04 +0000 |
---|---|---|
committer | Rafal Jaworowski <raj@FreeBSD.org> | 2009-06-13 08:57:04 +0000 |
commit | 661ee6eea523d27a894f2f6869db2661d64bd44e (patch) | |
tree | 6011c8316f53bb84dddeeb615069d9a1f97289fe /sys/dev/sec | |
parent | a8675cae2b38ae9c7abb981e4a11e21a757680e6 (diff) | |
download | src-661ee6eea523d27a894f2f6869db2661d64bd44e.tar.gz src-661ee6eea523d27a894f2f6869db2661d64bd44e.zip |
Fix Book-E/MPC85XX build. Some prototypes were wrong and got revealed with
the recent kobj signature checking.
Notes
Notes:
svn path=/head/; revision=194101
Diffstat (limited to 'sys/dev/sec')
-rw-r--r-- | sys/dev/sec/sec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/sec/sec.c b/sys/dev/sec/sec.c index 65ce014adcb8..6b0a62f9e9fa 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 |