From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: [PATCH] mn10300: Wire up mn10300_dma_supported Date: Mon, 25 Jan 2016 22:55:43 -0800 Message-ID: <1453791343-12383-1-git-send-email-patchwork@patchwork.roeck-us.net> Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From; bh=fF64WXLgL+9SnMiLgq6PeUPy4Xb4eaIoOLruNrCAiPI=; b=qAwgfmdWt0BH0D//ofHK+/0PXe f3rP7l8U+kakT7T7vaWf+0zGAmQQYRMnbfZq8vKeB9aRWMmb//Dh0+bIf/lCpDzTvqZ5FUD6SPQOn EeUR60M6NJgorofcxvk7UhvFKT1m0lH2exWmg2Qt0wyTwGtDRDXZGadD69TsRb8peI/boD7SE+H5M sugrUMuNuOvnEg7jp4v4YtUfYj+RRlWqTzBIHQXWPS61wjB1HhiMnZj/2snYcKCDlZX72LURv3t36 GQAbrFJWxpTN+RABmryeKdgXMxgD3ub+kkFRPA8Tya6wCKht/FpSp37ZRwQ1qF41B/ujhjw07y3ku WzZCBCzg==; Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: David Howells Cc: Koichi Yasutake , linux-am33-list-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Guenter Roeck , Christoph Hellwig From: Guenter Roeck Commit f151341ca00e ("mn10300: convert to dma_map_ops") declares mn10300_dma_supported, but does not wire it up. This results in the following build warning. arch/mn10300/mm/dma-alloc.c: warning: 'mn10300_dma_supported' defined but not used Fixes: f151341ca00e ("mn10300: convert to dma_map_ops") Cc: Christoph Hellwig Signed-off-by: Guenter Roeck --- arch/mn10300/mm/dma-alloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mn10300/mm/dma-alloc.c b/arch/mn10300/mm/dma-alloc.c index 8842394cb49a..5ff49d67f55a 100644 --- a/arch/mn10300/mm/dma-alloc.c +++ b/arch/mn10300/mm/dma-alloc.c @@ -128,4 +128,5 @@ struct dma_map_ops mn10300_dma_ops = { .map_sg = mn10300_dma_map_sg, .sync_single_for_device = mn10300_dma_sync_single_for_device, .sync_sg_for_device = mn10300_dma_sync_sg_for_device, + .dma_supported = mn10300_dma_supported, }; -- 2.1.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756267AbcAZGzx (ORCPT ); Tue, 26 Jan 2016 01:55:53 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:39023 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756106AbcAZGzu (ORCPT ); Tue, 26 Jan 2016 01:55:50 -0500 From: Guenter Roeck To: David Howells Cc: Koichi Yasutake , linux-am33-list@redhat.com, linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org, Guenter Roeck , Christoph Hellwig Subject: [PATCH] mn10300: Wire up mn10300_dma_supported Date: Mon, 25 Jan 2016 22:55:43 -0800 Message-Id: <1453791343-12383-1-git-send-email-patchwork@patchwork.roeck-us.net> X-Mailer: git-send-email 2.1.4 X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guenter Roeck Commit f151341ca00e ("mn10300: convert to dma_map_ops") declares mn10300_dma_supported, but does not wire it up. This results in the following build warning. arch/mn10300/mm/dma-alloc.c: warning: 'mn10300_dma_supported' defined but not used Fixes: f151341ca00e ("mn10300: convert to dma_map_ops") Cc: Christoph Hellwig Signed-off-by: Guenter Roeck --- arch/mn10300/mm/dma-alloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mn10300/mm/dma-alloc.c b/arch/mn10300/mm/dma-alloc.c index 8842394cb49a..5ff49d67f55a 100644 --- a/arch/mn10300/mm/dma-alloc.c +++ b/arch/mn10300/mm/dma-alloc.c @@ -128,4 +128,5 @@ struct dma_map_ops mn10300_dma_ops = { .map_sg = mn10300_dma_map_sg, .sync_single_for_device = mn10300_dma_sync_single_for_device, .sync_sg_for_device = mn10300_dma_sync_sg_for_device, + .dma_supported = mn10300_dma_supported, }; -- 2.1.4