/* Routines for the character/ioctl interface to the driver. Find out if this is a valid open.  */
static int megadev_open(struct inode *inode, struct file *filep)
/* Routines for the character/ioctl interface to the driver. Find out if this is a valid open.  */
static int megadev_open(struct inode *inode, struct file *filep)
{
	cycle_kernel_lock();
	if( !capable(CAP_SYS_ADMIN) ) return -EACCES;
	return 0;
}