From e638fe55dcf03d3205b1ff151c41ac4eab6791a4 Mon Sep 17 00:00:00 2001 From: ratchov Date: Wed, 21 Jul 2010 07:49:48 +0000 Subject: [PATCH] remove duplicate AP192K_GPIO_XXX macros, from Alexandr Shadchin, thanks! --- sys/dev/pci/envy.c | 7 +------ 1 file changed, 1 insertion(+), 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 * @@ -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) { -- 2.20.1