Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932425Ab3J2Dxj (ORCPT ); Mon, 28 Oct 2013 23:53:39 -0400 Received: from mail-qc0-f169.google.com ([209.85.216.169]:57502 "EHLO mail-qc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932260Ab3J2DwG (ORCPT ); Mon, 28 Oct 2013 23:52:06 -0400 From: Kevin McKinney To: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: dan.carpenter@oracle.com, Kevin McKinney Subject: [PATCH 10/11 V2] Staging: bcm: Replace PVOID with void * in Adapter.h Date: Mon, 28 Oct 2013 23:51:47 -0400 Message-Id: <1383018708-29615-11-git-send-email-klmckinney1@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1383018708-29615-1-git-send-email-klmckinney1@gmail.com> References: <1383018708-29615-1-git-send-email-klmckinney1@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2204 Lines: 72 This patch replaces "PVOID" with "void *" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index 32343e3..7055b83 100644 --- a/drivers/staging/bcm/Adapter.h +++ b/drivers/staging/bcm/Adapter.h @@ -20,7 +20,7 @@ struct bcm_packettosend { } __packed; struct bcm_control_packet { - PVOID ControlBuff; + void *ControlBuff; unsigned int ControlBuffLen; struct bcm_control_packet *next; } __packed; @@ -208,9 +208,9 @@ struct bcm_targetdsx_buffer { bool valid; }; -typedef int (*FP_FLASH_WRITE)(struct bcm_mini_adapter *, unsigned int, PVOID); +typedef int (*FP_FLASH_WRITE)(struct bcm_mini_adapter *, unsigned int, void *); -typedef int (*FP_FLASH_WRITE_STATUS)(struct bcm_mini_adapter *, unsigned int, PVOID); +typedef int (*FP_FLASH_WRITE_STATUS)(struct bcm_mini_adapter *, unsigned int, void *); /* * Driver adapter data structure @@ -308,22 +308,22 @@ struct bcm_mini_adapter { /* Driver State for LED Blinking */ enum bcm_led_events DriverState; /* Interface Specific */ - PVOID pvInterfaceAdapter; - int (*bcm_file_download)(PVOID, + void *pvInterfaceAdapter; + int (*bcm_file_download)(void *, struct file *, unsigned int); - int (*bcm_file_readback_from_chip)(PVOID, + int (*bcm_file_readback_from_chip)(void *, struct file *, unsigned int); - int (*interface_rdm)(PVOID, + int (*interface_rdm)(void *, unsigned int, - PVOID, + void *, int); - int (*interface_wrm)(PVOID, + int (*interface_wrm)(void *, unsigned int, - PVOID, + void *, int); - int (*interface_transmit)(PVOID, PVOID , unsigned int); + int (*interface_transmit)(void *, void *, unsigned int); bool IdleMode; bool bDregRequestSentInIdleMode; bool bTriedToWakeUpFromlowPowerMode; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/