/* The are the file operation function for user access to /dev/nvram  */
static loff_t nvram_llseek(struct file *file, loff_t offset, int origin)
/* The are the file operation function for user access to /dev/nvram  */
static loff_t nvram_llseek(struct file *file, loff_t offset, int origin)
{
	switch (origin) {
	case 0:
		break;
	case 1:
		offset += file->f_pos;
		break;
	case 2:
		offset += NVRAM_BYTES;
		break;
	}
	return (offset >= 0) ? (file->f_pos = offset) : -EINVAL;
}