static DEFINE_IDA(scom_ida);
static int put_scom(struct scom_device *scom_dev, uint64_t value,
- uint32_t addr)
+ uint32_t addr)
{
int rc;
uint32_t data;
}
static int get_scom(struct scom_device *scom_dev, uint64_t *value,
- uint32_t addr)
+ uint32_t addr)
{
uint32_t result, data;
int rc;
}
static ssize_t scom_read(struct file *filep, char __user *buf, size_t len,
- loff_t *offset)
+ loff_t *offset)
{
int rc;
struct miscdevice *mdev =
}
static ssize_t scom_write(struct file *filep, const char __user *buf,
- size_t len, loff_t *offset)
+ size_t len, loff_t *offset)
{
int rc;
struct miscdevice *mdev = filep->private_data;