software/drivers/sd8887/src/bluetooth/bt/bt_proc.c
/**
 *  @brief Proc open function for histogram
 *
 *  @param inode     A pointer to inode structure
 *  @param file		 A pointer to file structure
 *
 *  @return        Number of output data or MLAN_STATUS_FAILURE
 */
@brief Proc open function for histogram
@param inode     A pointer to inode structure
@param file          A pointer to file structure

@return        Number of output data or MLAN_STATUS_FAILURE
@brief Proc open function for histogram @param inode A pointer to inode structure @param file A pointer to file structure @return Number of output data or MLAN_STATUS_FAILURE
static int
bt_histogram_proc_open(struct inode *inode, struct file *file)
{
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
	return single_open(file, bt_histogram_read, PDE_DATA(inode));
#else
	return single_open(file, bt_histogram_read, PDE(inode)->data);
#endif
}
static int bt_histogram_proc_open ( struct inode * inode , struct file * file ) { #if LINUX_VERSION_CODE >= KERNEL_VERSION ( 3 , 10 , 0 ) return single_open ( file , bt_histogram_read , PDE_DATA ( inode ) ) ; #else return single_open ( file , bt_histogram_read , PDE ( inode ) -> data ) ; #endif }
@brief Proc open function for histogram
  @param inode     A pointer to inode structure
  @param file          A pointer to file structure
@brief Proc open function for histogram @param inode A pointer to inode structure @param file A pointer to file structure