From patchwork Thu Mar 26 13:59:05 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jes Sorensen X-Patchwork-Id: 14544 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2QDxDcP023885 for ; Thu, 26 Mar 2009 13:59:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757046AbZCZN7M (ORCPT ); Thu, 26 Mar 2009 09:59:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756932AbZCZN7M (ORCPT ); Thu, 26 Mar 2009 09:59:12 -0400 Received: from relay1.sgi.com ([192.48.179.29]:44416 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754559AbZCZN7L (ORCPT ); Thu, 26 Mar 2009 09:59:11 -0400 Received: from eye3.emea.sgi.com (eye3.emea.sgi.com [144.253.156.24]) by relay1.corp.sgi.com (Postfix) with ESMTP id 0ABED8F80C1; Thu, 26 Mar 2009 06:59:08 -0700 (PDT) Message-ID: <49CB8A29.7010007@sgi.com> Date: Thu, 26 Mar 2009 14:59:05 +0100 From: Jes Sorensen User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Avi Kivity CC: "kvm@vger.kernel.org" Subject: [patch] kvm-userland vl.c compiler warning Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi, A minor cosmetic fix to tell the compiler to shut up by including the header providing the prototype for dma_helper_init(). Cheers, Jes vl.c needs to include dma.h which provides the prototype for dma_helper_init() to avoid a compiler warning. Signed-off-by: Jes Sorensen --- qemu/vl.c | 1 + 1 file changed, 1 insertion(+) Index: kvm-userspace.git/qemu/vl.c =================================================================== --- kvm-userspace.git.orig/qemu/vl.c +++ kvm-userspace.git/qemu/vl.c @@ -154,6 +154,7 @@ #include "kvm.h" #include "balloon.h" #include "qemu-kvm.h" +#include "dma.h" #include "hw/device-assignment.h" #include "disas.h"