Commit d4aaee21 authored by Dimitris Lampridis's avatar Dimitris Lampridis

[sw][drv] fix compilation in post-4.19 kernels

parent f9dcabcd
...@@ -6,8 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -6,8 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Added ### Added
- Better python packaging, including wrtd-tool
- udev rules for proper node initialisation - udev rules for proper node initialisation
### Changed
- Better python packaging, including wrtd-tool
### Fixed
- Building of drivers in newer (post 4.19) Linux kernels
## [1.0.0] - 2019-10-01 ## [1.0.0] - 2019-10-01
### Added ### Added
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/mfd/core.h> #include <linux/mfd/core.h>
#include <linux/mod_devicetable.h>
enum wrtd_s150a_dev_offsets { enum wrtd_s150a_dev_offsets {
WRTD_S150A_FA100_MEM_START = 0x00002000, WRTD_S150A_FA100_MEM_START = 0x00002000,
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#include<linux/moduleparam.h> #include<linux/moduleparam.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/mfd/core.h> #include <linux/mfd/core.h>
#include <linux/mod_devicetable.h>
static char *drivers = ""; static char *drivers = "";
module_param(drivers, charp, 0444); module_param(drivers, charp, 0444);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment