From patchwork Thu Dec 5 12:06:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 847661 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 DBA91207E1E for ; Thu, 5 Dec 2024 12:06:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733400383; cv=none; b=Erk4uZSg8duSQrUvl3BhApSKuH2nYUE9F7Zd5SCTzX4eHE8SF3mowrhtUnQgLn7dfdHioJCu3kh6olwVx6mWbk3Zs9YJ9xYiuKG/PtXq6r5XlCL59UiCHngVYuTrLbFQ4kNadC521AhXkjUyw5/2XuplX2TjWerRCFF2mCpnOZY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733400383; c=relaxed/simple; bh=EHhGcMmIPZQlHvSzckeuvpUvnt/z4uItzGTV+aTrF4k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QXy5LELM+FgPg1E4Z2DK2EgNws1pgJ6JlJC4yImRwut6ohvHcEVdjdWF2cRhJK0oFvzSpU/XGiXzvJgHQIsyR4T6dXgPA7pFWRixMEsUPik8zVEz69TUliFSMg5qnQwgfRHs4Xgo9WIUPBvo4dEPrkF9MiVaMoPqONCbvAElUHQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=Q6zSpAwA; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="Q6zSpAwA" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-385d7f19f20so404061f8f.1 for ; Thu, 05 Dec 2024 04:06:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1733400379; x=1734005179; 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=1IMlCojeP5q6YL2cpETJ1hIUJSlb4xwiIMaEqu2JuuU=; b=Q6zSpAwAVLkaZ0CB2Y8LfaPJymkU3+uj+LTIDJe0eqK0JB3k1oeLlxpEaELZ6sGeVn FwDQ5FmsHt61p7ENCDHyiKGYxnr1WDAMINMTJD0wJAQvPjbb2HCtx99dfjTN+7HIC/L6 PoEuvrXQH+xvJnV9r5fLTpkabaiNaMOcIStf5MpWjLOasmQSUPaMbts4Ouh2k/CPAjdX H3D1jhu9gVqeLkohSAA9pkFwHbb9bJCgsgtRU2B9mcBac9FtNXtQ25kHyxjeShQM3QcL PzWmsD2wnxjf7g3pHj9tym/T9QRljINXHloRNg5TqHQAyroq70HNMb7/GDSroklbZIuE Df6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733400379; x=1734005179; 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=1IMlCojeP5q6YL2cpETJ1hIUJSlb4xwiIMaEqu2JuuU=; b=YiZsQBUeSZJ2tCTq1yUDXE4nteC4e7zJ2SZSbjb1oSJsnyx9ZyzBVYkPNJ0kmrFFsj N7GrwzpiaBb2E8O2YQg5tgZWMleU4poJVlazOmNMEjDq/4jCir42GgkMAeWeUH+pQk58 xkKX1f/0gEcmYq2G4kGLVlmgvBGV7/uW9QE5JkeSssMpcoGrRtU0VlfaB7YV129pvZWN lxPQ3KXtOlMMv3lKVsid5/VXNaqluXOqx1OU9UgJeY3sEmSbXteYfQtL1NxlerL8L3pC +BipnLozOjd5x0T/kgvut0MB3ALsLx3yWTwFpNyWgXBx3r/+OW4U0BRGjHpdLCDrBiZK NpJw== X-Gm-Message-State: AOJu0Yw60DUslAp8SDEgE5cHK4FDmAO44i9B+mu4rXA0w/Hn/cSzpspK YpGQ+YQHHXBKuM0RdIu6wY3NFsEqLKg1O71jEvjKOkHf5sZL5M1rJA5F/ZgVmMs= X-Gm-Gg: ASbGncsa0YKZHALCqBgGHlnSTy7EK4bkkWEj4bpvWoYB41aTtkQuz39ZnF5lbU4WPcM TLOssLOBmRw9zzf5TYW2V8yUt+Qn4VqqyrdhfU8lFxLXlFiIbcU8MgffscZbbMtLjRVi4uKuTJB kPTdRdDKwvKegzVDTSsBeqLSEWmS5QjgLGuvBh4Vir3IS/ZJQC/tdlF/zNs1H2ZigZNFQAiLkin WBv1RJaGH+ezdIET0pnFepGLnpO2i3NLH8T58oIITTYztVw X-Google-Smtp-Source: AGHT+IF+ZO5Y2Gp4nFlsAx+6No4w7F187R8MDxdYO39Sc8nWC0dgPyV0mOjPzWTk8+ryT1t9Q6houg== X-Received: by 2002:a05:6000:20ca:b0:385:fc32:1ec3 with SMTP id ffacd0b85a97d-38607ac4f0emr4407515f8f.20.1733400378815; Thu, 05 Dec 2024 04:06:18 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:b496:c2c8:33f:e860]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434da113508sm21934095e9.35.2024.12.05.04.06.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 04:06:18 -0800 (PST) From: Bartosz Golaszewski To: Linus Walleij , Bartosz Golaszewski , Andrew Davis , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Alexander Sverdlin Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Bartosz Golaszewski , Alexander Sverdlin Subject: [PATCH v2 1/2] gpio: omap: allow building the module with COMPILE_TEST=y Date: Thu, 5 Dec 2024 13:06:09 +0100 Message-ID: <20241205120610.40644-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Bartosz Golaszewski For better build coverage, allow building the gpio-omap driver with COMPILE_TEST Kconfig option enabled. While at it: simplify the dependencies and drop the dependency on ARM as it's already implied by ARCH_OMAP. Reviewed-by: Alexander Sverdlin Signed-off-by: Bartosz Golaszewski --- Changes in v2: - rework Kconfig dependencies drivers/gpio/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 56fee58e281e7..d87b3d99f8f7a 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -528,9 +528,9 @@ config GPIO_OCTEON family of SOCs. config GPIO_OMAP - tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST + tristate "TI OMAP GPIO support" + depends on ARCH_OMAP || COMPILE_TEST default y if ARCH_OMAP - depends on ARM select GENERIC_IRQ_CHIP select GPIOLIB_IRQCHIP help