-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 267558 b: refs/heads/master c: df9c1c4 h: refs/heads/master v: v3
- Loading branch information
Jonathan Cameron
authored and
Greg Kroah-Hartman
committed
Aug 23, 2011
1 parent
03daff0
commit 2058882
Showing
6 changed files
with
60 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 657b90473b925da471e92fd207b127d3059e8d5b | ||
refs/heads/master: df9c1c42c26f9a516dd44c956cff301741a0884e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* The industrial I/O core function defs. | ||
* | ||
* Copyright (c) 2008 Jonathan Cameron | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License version 2 as published by | ||
* the Free Software Foundation. | ||
* | ||
* These definitions are meant for use only within the IIO core, not indvidual | ||
* drivers. | ||
*/ | ||
|
||
/** | ||
* iio_device_get_chrdev_minor() - get an unused minor number | ||
**/ | ||
int iio_device_get_chrdev_minor(void); | ||
void iio_device_free_chrdev_minor(int val); | ||
|
||
|
||
/** | ||
* iio_put() - internal module reference count reduce | ||
**/ | ||
void iio_put(void); | ||
|
||
/** | ||
* iio_get() - internal module reference count increase | ||
**/ | ||
void iio_get(void); | ||
|
||
extern dev_t iio_devt; | ||
|
||
int __iio_add_chan_devattr(const char *postfix, | ||
const char *group, | ||
struct iio_chan_spec const *chan, | ||
ssize_t (*func)(struct device *dev, | ||
struct device_attribute *attr, | ||
char *buf), | ||
ssize_t (*writefunc)(struct device *dev, | ||
struct device_attribute *attr, | ||
const char *buf, | ||
size_t len), | ||
int mask, | ||
bool generic, | ||
struct device *dev, | ||
struct list_head *attr_list); | ||
|
||
/* Event interface flags */ | ||
#define IIO_BUSY_BIT_POS 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
#include <linux/poll.h> | ||
|
||
#include "iio.h" | ||
#include "iio_core.h" | ||
#include "ring_generic.h" | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters