Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp513607rdb; Thu, 8 Feb 2024 12:22:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IESyd7k0dO3m5vZ29gF4jd6myb3GM/BOo2tW5l26grTerSESN4IwHnWoouvWyILou8Jq8wE X-Received: by 2002:a05:6402:356:b0:55c:d503:764c with SMTP id r22-20020a056402035600b0055cd503764cmr218398edw.22.1707423745668; Thu, 08 Feb 2024 12:22:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707423745; cv=pass; d=google.com; s=arc-20160816; b=Ra+ImzU/UGSc4Ra6YEcJdFMRSuW9yFk2Bel65XWgH6pfWANQyBi+Lu3eP3NzirnBMw SQxTTSiRa50j3HGH3FIi5rQx4kLBXmOfBwEFmSC6XU53p20ActRzRTJ4gcFLBXvP3Gt2 wAJ0Sl2nxj+IXaiouwuBnphHKaP2D58lDwcdNuhCTOzwCJa73BwPyT2vXimOdglLgWHa n0CqD5Kt424nLGjhcqwUr3epl94HjOGRlxTrG9qSYCu410YIfLK2oOA3eQgdO/b8nOuC F4FpH4jCp0+izeqiBo/GDNPK2sfDuoC9PkrBYevaQLmL/oBxEXMM7Xbz6Vyuzb1+0MJx bQLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=z3acf27u1UG3FXBRbQIS8gUvuFH8u3NdpIthkRuoAGs=; fh=+EXkyah47l6Ns9D7BDtjwAtlaEaRx36Xj8JLk3m5IXU=; b=FQ2A+0395+m/MnbgeD92sm1Qd713c0S6A8e0kAHP5bnBWt9VekEngSYtdaw16zr20u n6srQ3bHyVvxN+w8R0+H758reeL27RqV0rPcGvQ379kY3pXSlu+ElBQF1kUEzdOOAhpi hvpFBGZABd/eJ5jBUqoje+nN5uCymS31fTvOy9FU43LVupM+k0ID/KVEzmNHNVCb75df 2WQyFXyht40C8PX1teN+Kf70BbYiVf9ap/VEjag6more7Zt1WJKHBPmTQqK62a2QL2d3 CG/DgWuGFB9bvobjEM/sTbjIgfCr6LOkRyIT3sm/SEOLsK+uftnJ9evKCmCuuiG31YRz rGDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BVeZdwrr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-58661-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58661-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCVI5H6CKjm/kgQAS+DcsY75434rk5u1n5CrvW310IV7IDAoMdUYiIc4DWJRg05jjD9mdK82Aj+WGrdFFU1ffrDuT3J7kNi1kqoLTlRFNw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h11-20020a056402094b00b00560df240499si65686edz.544.2024.02.08.12.22.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 12:22:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58661-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BVeZdwrr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-58661-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58661-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A21F11F2E96B for ; Thu, 8 Feb 2024 20:22:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C6DC538FAF; Thu, 8 Feb 2024 20:21:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BVeZdwrr" Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90F0338DEF for ; Thu, 8 Feb 2024 20:21:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707423704; cv=none; b=o/3tOLxZuCJRB6AnqzRVdFZzw7nNaKdrhALlPAZYUf2mQ5Kkcv2myb2BMHAqJfI6AKeSeTQ636XfT2QmK//782bnp0E22oxC9ptw4Dy0P6w18NiQxTxSR4o742HQI8IE14YowjvGIu3d25JbYuuF6YDG5IwGvv8AK1bcLnB+IXQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707423704; c=relaxed/simple; bh=tsee4NBKtAR96KWrN8Sd6UvcENo+6pEmAXhvCXNQMq0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ZQGm3gHQ/WM/hOGU9s5+P4EPdpgJXzsXxPi959riWidjkgfNdOunkeZ5HNBY/wiwQmMzvPF9e6B8P7eZzJknpvayXWcFuazNzvoOU01t2QSd+O4aGvZEFHCmHssJytYdytQ2EKPNDdt6m3sn3ELxBYTGXOI7Ezj7HCQ6Br44f7I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=BVeZdwrr; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-33b5978de44so40486f8f.3 for ; Thu, 08 Feb 2024 12:21:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707423701; x=1708028501; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=z3acf27u1UG3FXBRbQIS8gUvuFH8u3NdpIthkRuoAGs=; b=BVeZdwrrCLaIVIFuK2LY9K5gYOpCsreks9oeZtLWj/NF4VNHELY4kYE9IXsjqUctJ/ 9g1k8bHjHo7wWDf1aAsZSfFaAL9cwvNrk3w5Tu/NJ9fVVfw4LnR2M4qzxk0e88Ao831Y niXLyt5q/O7/U4AW+hLVn+UF0xgHrzCNFCg3CytLOnB2U6GwjpzOx1dOG1MBk1drt+Ch 9deIiQKgrNaYNGnXP25Vf4S/4FLBJmzpNwwUXm7Lisf8qKvH0B/uVu0KcuWDWCJMdSeL U4okl5jGkY5wZ40pfD67ppnstvZ/BmNvSxHIKL3PHhQVWBZBU5aUb1HY+wP+w55xKa4p PRzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707423701; x=1708028501; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z3acf27u1UG3FXBRbQIS8gUvuFH8u3NdpIthkRuoAGs=; b=GvQFelv49B2+mJK+WY0GJQelXTB7pcZ2TL35777XXd+vBNipDhur4Ak/XQ8TxCNCh2 JCnNca417ukbjg083QFjTS0c1uWVU94AJGhSUogLqufrHRXsr7Fa4anrTP72wV54jsiX qOX+x0sv7ZXw0fJDu+kyHcc6PENgolRpk3P5TSdRYqyuQwOiq4skjmXY+P48yTZafMJW Csn/G0WWtamiZq1Uf7bu6273VIGeXXGrT9um6/N0+n5d8qKlQUeClBNlE9Cl/bUQ5Cda NjDifTNd/zecYISRSHMLJanwD5jy1cKqjQhfRcFmNr0GbhXUSzQqSLi830Ulq56aD2XG pmVw== X-Gm-Message-State: AOJu0Yzdzh7i0CMAVuKTGJ9i78cu3MgxQTJ8dtJRb62Fkbsu/6I9N19M fGnt6UHlGJ0IyArX46Reph8vSR6Oc92c06xhRZVoC7BxhcX/NNo2RKnhlqC/v9Q= X-Received: by 2002:adf:f891:0:b0:33b:28c0:7c98 with SMTP id u17-20020adff891000000b0033b28c07c98mr349299wrp.61.1707423700730; Thu, 08 Feb 2024 12:21:40 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVWntY+LUqqaL/5/EQFIUEI5qSZCAvHwoNIb4PBn6lcNZRcol6KYHwLo3eRIa2UjHTXrWcyeyGLdv21pn4gWcBuGFBjLGWBk9gxpgtXfKt6l6kspZ9qvKBkF02ORU4wjY3i3IAPLeWkejOyjgiXpJ0LEUrnZUkgRkQeTlyDU0uE4W24d9iPWuT+yBSx3vy7XyYDo7u1Yibwa3WNRd5kx8QijQw= Received: from krzk-bin.. ([178.197.222.62]) by smtp.gmail.com with ESMTPSA id e5-20020a5d5305000000b0033af5086c2dsm102548wrv.58.2024.02.08.12.21.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 12:21:40 -0800 (PST) From: Krzysztof Kozlowski To: Wolfram Sang , Ulf Hansson , linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] mmc: renesas_sdhi: use typedef for dma_filter_fn Date: Thu, 8 Feb 2024 21:21:37 +0100 Message-Id: <20240208202137.630281-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Use existing typedef for dma_filter_fn to avoid duplicating type definition. Signed-off-by: Krzysztof Kozlowski --- drivers/mmc/host/renesas_sdhi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/renesas_sdhi.h b/drivers/mmc/host/renesas_sdhi.h index c1fb9740eab0..586f94d4dbfd 100644 --- a/drivers/mmc/host/renesas_sdhi.h +++ b/drivers/mmc/host/renesas_sdhi.h @@ -9,6 +9,7 @@ #ifndef RENESAS_SDHI_H #define RENESAS_SDHI_H +#include #include #include "tmio_mmc.h" @@ -63,7 +64,7 @@ struct renesas_sdhi_of_data_with_quirks { struct renesas_sdhi_dma { unsigned long end_flags; enum dma_slave_buswidth dma_buswidth; - bool (*filter)(struct dma_chan *chan, void *arg); + dma_filter_fn filter; void (*enable)(struct tmio_mmc_host *host, bool enable); struct completion dma_dataend; struct tasklet_struct dma_complete; -- 2.34.1