| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2007-2010 Texas Instruments Inc |
|---|
| 3 | 4 | * Copyright (C) 2007 MontaVista Software, Inc. |
|---|
| .. | .. |
|---|
| 6 | 7 | * - Initial version |
|---|
| 7 | 8 | * Murali Karicheri (mkaricheri@gmail.com), Texas Instruments Ltd. |
|---|
| 8 | 9 | * - ported to sub device interface |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 12 | | - * the Free Software Foundation version 2. |
|---|
| 13 | | - * |
|---|
| 14 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 15 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 17 | | - * GNU General Public License for more details. |
|---|
| 18 | | - * |
|---|
| 19 | 10 | */ |
|---|
| 20 | 11 | #include <linux/module.h> |
|---|
| 21 | 12 | #include <linux/mod_devicetable.h> |
|---|
| .. | .. |
|---|
| 24 | 15 | #include <linux/platform_device.h> |
|---|
| 25 | 16 | #include <linux/clk.h> |
|---|
| 26 | 17 | #include <linux/slab.h> |
|---|
| 27 | | - |
|---|
| 28 | | -#ifdef CONFIG_ARCH_DAVINCI |
|---|
| 29 | | -#include <mach/cputype.h> |
|---|
| 30 | | -#include <mach/hardware.h> |
|---|
| 31 | | -#endif |
|---|
| 32 | 18 | |
|---|
| 33 | 19 | #include <media/davinci/vpss.h> |
|---|
| 34 | 20 | #include <media/v4l2-device.h> |
|---|