From: Michael Buesch <mb@bu3sch.de>
To: Tony Lindgren <tony@atomide.com>
Cc: Felipe Balbi <balbi@ti.com>, linux-omap <linux-omap@vger.kernel.org>
Subject: [PATCH] cbus: Removed unused ioctl interface header
Date: Sun, 06 Mar 2011 16:17:16 +0100 [thread overview]
Message-ID: <1299424636.1292.2.camel@marge> (raw)
The deprecated ioctl interface was removed. Also remove the header.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
---
Index: linux-omap-2.6/drivers/cbus/user_retu_tahvo.h
===================================================================
--- linux-omap-2.6.orig/drivers/cbus/user_retu_tahvo.h 2011-03-06 16:14:56.248545711 +0100
+++ /dev/null 1970-01-01 00:00:00.000000000 +0000
@@ -1,75 +0,0 @@
-/**
- * drivers/cbus/user_retu_tahvo.h
- *
- * Copyright (C) 2004, 2005 Nokia Corporation
- *
- * Written by Mikko Ylinen <mikko.k.ylinen@nokia.com>
- *
- * Definitions and types used by both retu-user and tahvo-user.
- *
- * This file is subject to the terms and conditions of the GNU General
- * Public License. See the file "COPYING" in the main directory of this
- * archive for more details.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#ifndef _USER_RETU_TAHVO_H
-#define _USER_RETU_TAHVO_H
-
-/* Chip IDs */
-#define CHIP_RETU 1
-#define CHIP_TAHVO 2
-
-/* Register access type bits */
-#define READ_ONLY 1
-#define WRITE_ONLY 2
-#define READ_WRITE 3
-#define TOGGLE 4
-
-#define MASK(field) ((u16)(field & 0xFFFF))
-#define REG(field) ((u16)((field >> 16) & 0x3F))
-
-/*** IOCTL definitions. These should be kept in sync with user space **********/
-
-#define URT_IOC_MAGIC '`'
-
-/*
- * IOCTL function naming conventions:
- * ==================================
- * 0 -- No argument and return value
- * S -- Set through a pointer
- * T -- Tell directly with the argument value
- * G -- Reply by setting through a pointer
- * Q -- response is on the return value
- * X -- S and G atomically
- * H -- T and Q atomically
- */
-
-/* General */
-#define URT_IOCT_IRQ_SUBSCR _IO(URT_IOC_MAGIC, 0)
-
-/* RETU */
-#define RETU_IOCH_READ _IO(URT_IOC_MAGIC, 1)
-#define RETU_IOCX_WRITE _IO(URT_IOC_MAGIC, 2)
-#define RETU_IOCH_ADC_READ _IO(URT_IOC_MAGIC, 3)
-
-/* TAHVO */
-#define TAHVO_IOCH_READ _IO(URT_IOC_MAGIC, 4)
-#define TAHVO_IOCX_WRITE _IO(URT_IOC_MAGIC, 5)
-
-/* This structure is used for writing RETU/TAHVO registers */
-struct retu_tahvo_write_parms {
- u32 field;
- u16 value;
- u8 result;
-};
-
-#endif
--
Greetings, Michael.
next reply other threads:[~2011-03-06 15:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-06 15:17 Michael Buesch [this message]
2011-03-07 7:38 ` [PATCH] cbus: Removed unused ioctl interface header Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1299424636.1292.2.camel@marge \
--to=mb@bu3sch.de \
--cc=balbi@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.