Source
9
9
*
10
10
* This program is distributed in the hope that it will be useful,
11
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
13
* GNU General Public License for more details.
14
14
*/
15
15
16
16
#include <linux/device.h>
17
17
#include <linux/io.h>
18
18
#include <linux/module.h>
19
+
#include <linux/mod_devicetable.h>
19
20
#include <linux/nvmem-provider.h>
20
21
#include <linux/platform_device.h>
21
22
22
23
struct uniphier_efuse_priv {
23
24
void __iomem *base;
24
25
};
25
26
26
27
static int uniphier_reg_read(void *context,
27
28
unsigned int reg, void *_val, size_t bytes)
28
29
{