| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * MEN 16z188 Analog to Digial Converter |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2014 MEN Mikroelektronik GmbH (www.men.de) |
|---|
| 5 | 6 | * Author: Johannes Thumshirn <johannes.thumshirn@men.de> |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 8 | | - * under the terms of the GNU General Public License as published by the Free |
|---|
| 9 | | - * Software Foundation; version 2 of the License. |
|---|
| 10 | 7 | */ |
|---|
| 11 | 8 | |
|---|
| 12 | 9 | #include <linux/kernel.h> |
|---|
| .. | .. |
|---|
| 114 | 111 | |
|---|
| 115 | 112 | adc = iio_priv(indio_dev); |
|---|
| 116 | 113 | indio_dev->name = "z188-adc"; |
|---|
| 117 | | - indio_dev->dev.parent = &dev->dev; |
|---|
| 118 | 114 | indio_dev->info = &z188_adc_info; |
|---|
| 119 | 115 | indio_dev->modes = INDIO_DIRECT_MODE; |
|---|
| 120 | 116 | indio_dev->channels = z188_adc_iio_channels; |
|---|
| .. | .. |
|---|
| 177 | 173 | MODULE_LICENSE("GPL"); |
|---|
| 178 | 174 | MODULE_DESCRIPTION("IIO ADC driver for MEN 16z188 ADC Core"); |
|---|
| 179 | 175 | MODULE_ALIAS("mcb:16z188"); |
|---|
| 176 | +MODULE_IMPORT_NS(MCB); |
|---|