From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH 4/4] ide: constify struct ide_dma_ops Date: Thu, 13 Mar 2008 21:44:39 +0300 Message-ID: <47D97617.1020907@ru.mvista.com> References: <200803091702.18521.bzolnier@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from homer.mvista.com ([63.81.120.155]:35439 "EHLO imap.sh.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752167AbYCMSnX (ORCPT ); Thu, 13 Mar 2008 14:43:23 -0400 In-Reply-To: <200803091702.18521.bzolnier@gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Bartlomiej Zolnierkiewicz Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Hello. Bartlomiej Zolnierkiewicz wrote: > * Export ide_dma_exec_cmd() and __ide_dma_test_irq(). > * Constify struct ide_dma_ops. > * Always set hwif->dma_ops to &sff_dma_ops in ide_setup_dma() > (it is later overriden by ide_init_port() if needed) and drop > 'const struct ide_port_info *d' argument. > While at it: > * Rename __ide_dma_test_irq() to __ide_dma_test_irq(). I'd have expected that you also rename __ide_dma_end() to ide_dma_end()... > Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Sergei Shtylyov MBR, Sergei