aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/speaker
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/speaker')
-rw-r--r--sys/dev/speaker/speaker.h6
-rw-r--r--sys/dev/speaker/spkr.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/speaker/speaker.h b/sys/dev/speaker/speaker.h
index 6b1f0211e516..9e195c3f0d8b 100644
--- a/sys/dev/speaker/speaker.h
+++ b/sys/dev/speaker/speaker.h
@@ -7,8 +7,8 @@
* $FreeBSD$
*/
-#ifndef _MACHINE_SPEAKER_H_
-#define _MACHINE_SPEAKER_H_
+#ifndef _DEV_SPEAKER_SPEAKER_H_
+#define _DEV_SPEAKER_SPEAKER_H_
#include <sys/ioccom.h>
@@ -26,4 +26,4 @@ typedef struct
* see the spkr(4) man page for details.
*/
-#endif /* !_MACHINE_SPEAKER_H_ */
+#endif /* !_DEV_SPEAKER_SPEAKER_H_ */
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index d265e7c4f0a9..bad65c15eff0 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -20,9 +20,9 @@ __FBSDID("$FreeBSD$");
#include <sys/malloc.h>
#include <isa/isavar.h>
#include <machine/clock.h>
-#include <machine/speaker.h>
#include <machine/ppireg.h>
#include <machine/timerreg.h>
+#include <dev/speaker/speaker.h>
static d_open_t spkropen;
static d_close_t spkrclose;