From 0769c38d26bdb2941385c32ff66a25beeb987f75 Mon Sep 17 00:00:00 2001 From: David Cross Date: Thu, 23 Sep 2010 17:24:45 -0700 Subject: Staging: west bridge, removal of " " before ";" This patch fixes removes all of the the " ;"'s in the west bridge driver and instead replaces them with ";" only. Although this is a large patch, this is the only thing that it does. I can break it up on a file basis if needed. Signed-off-by: David Cross Signed-off-by: Greg Kroah-Hartman --- .../cyashalomap_kernel.h | 54 +++++++++++----------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h') diff --git a/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h b/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h index c40279b2910..80dd530bc4f 100644 --- a/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h +++ b/drivers/staging/westbridge/astoria/arch/arm/plat-omap/include/mach/westbridge/westbridge-omap3-pnand-hal/cyashalomap_kernel.h @@ -38,8 +38,8 @@ */ #include typedef struct cy_as_hal_sleep_channel_t { - wait_queue_head_t wq ; -} cy_as_hal_sleep_channel ; + wait_queue_head_t wq; +} cy_as_hal_sleep_channel; /* moved to staging location, eventual location * considered is here @@ -61,7 +61,7 @@ typedef struct cy_as_hal_sleep_channel_t { * device in the system. In this case the tag is a void * which is * really an OMAP device pointer */ -typedef void *cy_as_hal_device_tag ; +typedef void *cy_as_hal_device_tag; /* This must be included after the CyAsHalDeviceTag type is defined */ @@ -84,7 +84,7 @@ typedef void *cy_as_hal_device_tag ; */ void cy_as_hal_write_register(cy_as_hal_device_tag tag, - uint16_t addr, uint16_t data) ; + uint16_t addr, uint16_t data); /* * This function must be defined to read a register from @@ -93,7 +93,7 @@ cy_as_hal_write_register(cy_as_hal_device_tag tag, * of the west bridge device. */ uint16_t -cy_as_hal_read_register(cy_as_hal_device_tag tag, uint16_t addr) ; +cy_as_hal_read_register(cy_as_hal_device_tag tag, uint16_t addr); /* * This function must be defined to transfer a block of data @@ -103,7 +103,7 @@ cy_as_hal_read_register(cy_as_hal_device_tag tag, uint16_t addr) ; */ void cy_as_hal_dma_setup_write(cy_as_hal_device_tag tag, - uint8_t ep, void *buf, uint32_t size, uint16_t maxsize) ; + uint8_t ep, void *buf, uint32_t size, uint16_t maxsize); /* * This function must be defined to transfer a block of data @@ -113,13 +113,13 @@ cy_as_hal_dma_setup_write(cy_as_hal_device_tag tag, */ void cy_as_hal_dma_setup_read(cy_as_hal_device_tag tag, uint8_t ep, - void *buf, uint32_t size, uint16_t maxsize) ; + void *buf, uint32_t size, uint16_t maxsize); /* * This function must be defined to cancel any pending DMA request. */ void -cy_as_hal_dma_cancel_request(cy_as_hal_device_tag tag, uint8_t ep) ; +cy_as_hal_dma_cancel_request(cy_as_hal_device_tag tag, uint8_t ep); /* * This function must be defined to allow the Antioch API to @@ -128,7 +128,7 @@ cy_as_hal_dma_cancel_request(cy_as_hal_device_tag tag, uint8_t ep) ; */ void cy_as_hal_dma_register_callback(cy_as_hal_device_tag tag, - cy_as_hal_dma_complete_callback cb) ; + cy_as_hal_dma_complete_callback cb); /* * This function must be defined to return the maximum size of DMA @@ -138,7 +138,7 @@ cy_as_hal_dma_register_callback(cy_as_hal_device_tag tag, */ uint32_t cy_as_hal_dma_max_request_size(cy_as_hal_device_tag tag, - cy_as_end_point_number_t ep) ; + cy_as_end_point_number_t ep); /* * This function must be defined to set the state of the WAKEUP pin @@ -146,14 +146,14 @@ cy_as_hal_dma_max_request_size(cy_as_hal_device_tag tag, * type. */ cy_bool -cy_as_hal_set_wakeup_pin(cy_as_hal_device_tag tag, cy_bool state) ; +cy_as_hal_set_wakeup_pin(cy_as_hal_device_tag tag, cy_bool state); /* * This function is called when the Antioch PLL loses lock, because * of a problem in the supply voltage or the input clock. */ void -cy_as_hal_pll_lock_loss_handler(cy_as_hal_device_tag tag) ; +cy_as_hal_pll_lock_loss_handler(cy_as_hal_device_tag tag); /********************************************************************** @@ -168,14 +168,14 @@ cy_as_hal_pll_lock_loss_handler(cy_as_hal_device_tag tag) ; * is expected to work exactly like malloc(). */ void * -cy_as_hal_alloc(uint32_t cnt) ; +cy_as_hal_alloc(uint32_t cnt); /* * This function is required by the API to free memory allocated with * CyAsHalAlloc(). This function is expected to work exacly like free(). */ void -cy_as_hal_free(void *mem_p) ; +cy_as_hal_free(void *mem_p); /* * This function is required by the API to allocate memory during a @@ -183,21 +183,21 @@ cy_as_hal_free(void *mem_p) ; * time. */ void * -cy_as_hal_c_b_alloc(uint32_t cnt) ; +cy_as_hal_c_b_alloc(uint32_t cnt); /* * This function is required by the API to free memory allocated with * CyAsCBHalAlloc(). */ void -cy_as_hal_c_b_free(void *ptr) ; +cy_as_hal_c_b_free(void *ptr); /* * This function is required to set a block of memory to a specific * value. This function is expected to work exactly like memset() */ void -cy_as_hal_mem_set(void *ptr, uint8_t value, uint32_t cnt) ; +cy_as_hal_mem_set(void *ptr, uint8_t value, uint32_t cnt); /* * This function is expected to create a sleep channel. The data @@ -205,7 +205,7 @@ cy_as_hal_mem_set(void *ptr, uint8_t value, uint32_t cnt) ; * pointer in the argument. */ cy_bool -cy_as_hal_create_sleep_channel(cy_as_hal_sleep_channel *channel) ; +cy_as_hal_create_sleep_channel(cy_as_hal_sleep_channel *channel); /* * This function is expected to destroy a sleep channel. The data @@ -215,16 +215,16 @@ cy_as_hal_create_sleep_channel(cy_as_hal_sleep_channel *channel) ; cy_bool -cy_as_hal_destroy_sleep_channel(cy_as_hal_sleep_channel *channel) ; +cy_as_hal_destroy_sleep_channel(cy_as_hal_sleep_channel *channel); cy_bool -cy_as_hal_sleep_on(cy_as_hal_sleep_channel *channel, uint32_t ms) ; +cy_as_hal_sleep_on(cy_as_hal_sleep_channel *channel, uint32_t ms); cy_bool -cy_as_hal_wake(cy_as_hal_sleep_channel *channel) ; +cy_as_hal_wake(cy_as_hal_sleep_channel *channel); uint32_t -cy_as_hal_disable_interrupts(void) ; +cy_as_hal_disable_interrupts(void); void cy_as_hal_enable_interrupts(uint32_t); @@ -283,7 +283,7 @@ void cy_as_hal_read_regs_before_standby(cy_as_hal_device_tag tag); /* CyAsMiscSetLogLevel(uint8_t level) { - debug_level = level ; + debug_level = level; } #ifdef CY_AS_LOG_SUPPORT @@ -292,7 +292,7 @@ void cy_as_log_debug_message(int level, const char *str) { if (level <= debug_level) - cy_as_hal_print_message("log %d: %s\n", level, str) ; + cy_as_hal_print_message("log %d: %s\n", level, str); } */ @@ -307,9 +307,9 @@ void cyashal_prn_buf(void *buf, uint16_t offset, int len); * but are required to be called for this HAL. */ int start_o_m_a_p_kernel(const char *pgm, - cy_as_hal_device_tag *tag, cy_bool debug) ; -int stop_o_m_a_p_kernel(const char *pgm, cy_as_hal_device_tag tag) ; -int omap_start_intr(cy_as_hal_device_tag tag) ; + cy_as_hal_device_tag *tag, cy_bool debug); +int stop_o_m_a_p_kernel(const char *pgm, cy_as_hal_device_tag tag); +int omap_start_intr(cy_as_hal_device_tag tag); void cy_as_hal_set_ep_dma_mode(uint8_t ep, bool sg_xfer_enabled); /* moved to staging location -- cgit v1.2.3