History

iio: Make possible to include driver.h first

If we put headers alphabetically sorted in the IIO driver, the compilation will abort because of unknown type to handle. Simple add a forward declaration of opaque struct iio_dev.

Andy Shevchenko committed 7 years ago

Commit 89c16911 parent e8379e01 file · +1 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/iio/driver.h+1−0
@@ -11,6 +11,7 @@ · 10 unmodified lines
11#ifndef _IIO_INKERN_H_11#ifndef _IIO_INKERN_H_
12#define _IIO_INKERN_H_12#define _IIO_INKERN_H_
13 13
14struct iio_dev;
14struct iio_map;15struct iio_map;
15 16
16/**17/**

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t