summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-07-21 07:49:49 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-07-21 07:49:49 +0000
commit28589272fd0b97b98dbbfeb79916ba66b7314844 (patch)
tree337e12ba695bb7daf7b032d6d710af2449c5e3a0 /sys/dev/pci
parentbb2ae53976ec80f56563c922b58d3d23e06e535e (diff)
remove duplicate AP192K_GPIO_XXX macros,
from Alexandr Shadchin, thanks!
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/envy.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/envy.c b/sys/dev/pci/envy.c
index b504784d21b..7ac164bb79a 100644
--- a/sys/dev/pci/envy.c
+++ b/sys/dev/pci/envy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: envy.c,v 1.38 2010/07/21 07:11:55 ratchov Exp $ */
+/* $OpenBSD: envy.c,v 1.39 2010/07/21 07:49:48 ratchov Exp $ */
/*
* Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
*
@@ -384,11 +384,6 @@ delta_codec_write(struct envy_softc *sc, int dev, int addr, int data)
#define AP192K_GPIO_CSMASK 0x70
#define AP192K_GPIO_CS(dev) ((dev) << 4)
-#define AP192K_GPIO_CLK 0x2
-#define AP192K_GPIO_DOUT 0x8
-#define AP192K_GPIO_CSMASK 0x70
-#define AP192K_GPIO_CS(dev) ((dev) << 4)
-
void
ap192k_init(struct envy_softc *sc)
{