From fa03d4582f34e87d10ab47d3d15789f03a63a8bf Mon Sep 17 00:00:00 2001
From: Brian Behlendorf <behlendorf1@llnl.gov>
Date: Tue, 6 Jan 2009 11:02:36 -0800
Subject: [PATCH] Remove circular dependency

---
 module/zpios/Makefile.in | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/module/zpios/Makefile.in b/module/zpios/Makefile.in
index d007d3b4ae..88770784d9 100644
--- a/module/zpios/Makefile.in
+++ b/module/zpios/Makefile.in
@@ -1,10 +1,9 @@
-DISTFILES = Makefile.in *.c
+subdir-m += include
+DISTFILES = zpios.c
 
-MODULE  := zpios
+MODULE := zpios
 
-EXTRA_CFLAGS  = @KERNELCPPFLAGS@
-EXTRA_CFLAGS += -I@MODDIR@/zpios/include
+EXTRA_CFLAGS  = -I@MODDIR@/zpios/include
+EXTRA_CFLAGS += @KERNELCPPFLAGS@
 
 obj-m := ${MODULE}.o
-
-${MODULE}-objs += zpios.o	# Kernel PIOS test case