Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp5297935rwj; Wed, 21 Dec 2022 00:15:54 -0800 (PST) X-Google-Smtp-Source: AMrXdXui1B4+nBV/2gfqz+1aUQ8bLeCRt3XtLA7Sck5wsiYwyY3aE1zUAjoY+4xU0p7bzy7q4ybM X-Received: by 2002:a17:90a:fa03:b0:223:4958:8dda with SMTP id cm3-20020a17090afa0300b0022349588ddamr1285481pjb.7.1671610554697; Wed, 21 Dec 2022 00:15:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671610554; cv=none; d=google.com; s=arc-20160816; b=EaJXdl65psQI/OyO8bzrlsd1081M63LanYOYcY+VK7HdKR/KGJubMe3CohMxsEzKL8 OdHXpk71sJSmAzVNWZA6V0yVLT2zdaNh3rY+Q1OrKAtOwlPoKZlPEjjVfiFVUJkN8Anv GJNG1Jpec4DbJrOfMA+26OJARCs6dCzQCTuA8hKLqDg2aGadpHSg5bufTQ9tnDZK9ixb xdiDhVkaPZ5vQrptW5K9jnWPOzfLwn6K2wdkw/BtsE0kc5NMS/xp1wpGEBXojZLRu7fd 5sBYAynfnhqlTTwRpA1Bv6M+bDraUz5II2up7uqlZcAtd45PiF6xjLUWMkaeHx5L7nZy crIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EFbvpWNPHfuEqpG7nwMVI/9Yiztc2VKMMA8tkNEtDV4=; b=vVjS80la8CPgw3QC9afgLXoRSyW5U03LfGkn5mIvC2kZiiIleBCe3W54yGeza8eoTL RU9A0vtVDK+xO64joqt+7Q9AdY4ok3LV83+2aEiPbNphqx/pE2WNf95a/bdccTKLlXtv f6q4sOKSHCX/ew/HIYSGe4DXEJyERI6MB1JeemGkGwRJRy+RSZaERghZnH/iAY5C1CTC Rmkqe1vKyNdtHonEyiaNdKZalvdRuK2WlyajiHsY2zVTP6RjLT9wCNqNBtJ2NLxE7dz8 5VdlNnW6UE5XiGbek9MWLoj4L9tR3jmWmwkghqkTrojNUEFZNLVkiVRnfKe1r/Ziw4U8 jRaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=oD54nE+M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a1-20020a17090ad80100b0021872a7d873si1194461pjv.57.2022.12.21.00.15.45; Wed, 21 Dec 2022 00:15:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=oD54nE+M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231610AbiLUHlR (ORCPT + 69 others); Wed, 21 Dec 2022 02:41:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbiLUHlM (ORCPT ); Wed, 21 Dec 2022 02:41:12 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 491B163ED for ; Tue, 20 Dec 2022 23:41:11 -0800 (PST) Received: from umang.jainideasonboard.com (unknown [IPv6:2409:4041:6e00:8664:7b2b:8fb:60de:a205]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6649EFB; Wed, 21 Dec 2022 08:41:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1671608468; bh=eFlNBXwSSXctvuPUS9pXmGHrLnv5YhS5W9CJ67PeCAI=; h=From:To:Cc:Subject:Date:From; b=oD54nE+MO8FZZBeM2qhzezzombfMcjovY29Zc3E2ooJVEzhWBpC8s4lh9nZ/ekiqP bS2nSMcIyQcJH/1COl9mW9x9XHy0b3+6bT8gzWuK/66SHMrpfKtS38C4ocKyvj0nAx QfPsbtU3+09gHNSzxEzeglfviTLTQ0ULIFQ0+Lhw= From: Umang Jain To: linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Cc: Greg Kroah-Hartman , Adrien Thierry , Stefan Wahren , Kieran Bingham , Laurent Pinchart , Umang Jain Subject: [PATCH] staging: vchiq_arm: Remove extra struct vchiq_instance declaration Date: Wed, 21 Dec 2022 13:10:47 +0530 Message-Id: <20221221074047.233473-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Additional declaration of struct vchiq_instance was introduced in the commit 726e79f8a648 ("staging: vchiq_arm: pass vchiq instance to service callbacks"). Drop the extra declaration. Fixes: 726e79f8a648 ("staging: vchiq_arm: pass vchiq instance to service callbacks") Signed-off-by: Umang Jain --- drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h b/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h index 66965da11443..52e106f117da 100644 --- a/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h +++ b/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h @@ -78,8 +78,6 @@ struct vchiq_service_params_kernel { short version_min; /* Update for incompatible changes */ }; -struct vchiq_instance; - extern int vchiq_initialise(struct vchiq_instance **pinstance); extern int vchiq_shutdown(struct vchiq_instance *instance); extern int vchiq_connect(struct vchiq_instance *instance); -- 2.38.1