From: Randy Dunlap <randy.dunlap@oracle.com>
To: Dominik Brodowski <linux@dominikbrodowski.net>,
devel@driverdev.osuosl.org
Cc: linux-pcmcia@lists.infradead.org, gregkh@suse.de,
linux-next@vger.kernel.org
Subject: Re: [PATCH 9/9] pcmcia: remove pcmcia_get_{first,next}_tuple()
Date: Mon, 26 Oct 2009 15:19:58 -0700 [thread overview]
Message-ID: <20091026151958.a2e7871b.randy.dunlap@oracle.com> (raw)
In-Reply-To: <1255907255-28297-9-git-send-email-linux@dominikbrodowski.net>
On Mon, 19 Oct 2009 01:07:35 +0200 Dominik Brodowski wrote:
> Remove the pcmcia_get_{first,next}_tuple() calls no longer needed by
> (current) pcmcia device drivers.
linux-next 20091026:
drivers/staging/comedi/drivers/cb_das16_cs.c:155: error: implicit declaration of function 'pcmcia_get_first_tuple'
drivers/staging/comedi/drivers/cb_das16_cs.c:156: error: implicit declaration of function 'pcmcia_get_tuple_data'
drivers/staging/comedi/drivers/cb_das16_cs.c:883: error: implicit declaration of function 'pcmcia_get_next_tuple'
There are also other comedi/ drivers that this randconfig didn't attempt
to build that are still using these same interfaces.
> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
> ---
> drivers/pcmcia/cs_internal.h | 9 +++++++++
> include/pcmcia/ds.h | 15 ---------------
> 2 files changed, 9 insertions(+), 15 deletions(-)
>
> diff --git a/drivers/pcmcia/cs_internal.h b/drivers/pcmcia/cs_internal.h
> index 06a14c9..70432ca 100644
> --- a/drivers/pcmcia/cs_internal.h
> +++ b/drivers/pcmcia/cs_internal.h
> @@ -206,6 +206,15 @@ int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
> cisparse_t *parse,
> void *priv_data));
>
> +int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
> + tuple_t *tuple);
> +
> +int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int function,
> + tuple_t *tuple);
> +
> +int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple);
> +
> +
> /* rsrc_mgr.c */
> int pcmcia_validate_mem(struct pcmcia_socket *s);
> struct resource *pcmcia_find_io_region(unsigned long base,
> diff --git a/include/pcmcia/ds.h b/include/pcmcia/ds.h
> index 2eb6e24..6c37d4e 100644
> --- a/include/pcmcia/ds.h
> +++ b/include/pcmcia/ds.h
> @@ -229,21 +229,6 @@ int pcmcia_reset_card(struct pcmcia_socket *skt);
> int pcmcia_access_configuration_register(struct pcmcia_device *p_dev,
> conf_reg_t *reg);
>
> -/* deprecated -- do not use in drivers. */
> -int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
> - tuple_t *tuple);
> -#define pcmcia_get_first_tuple(p_dev, tuple) \
> - pccard_get_first_tuple(p_dev->socket, p_dev->func, tuple)
> -
> -int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int function,
> - tuple_t *tuple);
> -#define pcmcia_get_next_tuple(p_dev, tuple) \
> - pccard_get_next_tuple(p_dev->socket, p_dev->func, tuple)
> -
> -int pccard_get_tuple_data(struct pcmcia_socket *s, tuple_t *tuple);
> -#define pcmcia_get_tuple_data(p_dev, tuple) \
> - pccard_get_tuple_data(p_dev->socket, tuple)
> -
> /* device configuration */
> int pcmcia_request_io(struct pcmcia_device *p_dev, io_req_t *req);
> int pcmcia_request_irq(struct pcmcia_device *p_dev, irq_req_t *req);
> --
---
~Randy
next parent reply other threads:[~2009-10-26 22:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1255907255-28297-1-git-send-email-linux@dominikbrodowski.net>
[not found] ` <1255907255-28297-2-git-send-email-linux@dominikbrodowski.net>
[not found] ` <1255907255-28297-3-git-send-email-linux@dominikbrodowski.net>
[not found] ` <1255907255-28297-4-git-send-email-linux@dominikbrodowski.net>
[not found] ` <1255907255-28297-5-git-send-email-linux@dominikbrodowski.net>
[not found] ` <1255907255-28297-6-git-send-email-linux@dominikbrodowski.net>
[not found] ` <1255907255-28297-7-git-send-email-linux@dominikbrodowski.net>
[not found] ` <1255907255-28297-8-git-send-email-linux@dominikbrodowski.net>
[not found] ` <1255907255-28297-9-git-send-email-linux@dominikbrodowski.net>
2009-10-26 22:19 ` Randy Dunlap [this message]
2009-10-27 5:12 ` [PATCH 9/9] pcmcia: remove pcmcia_get_{first,next}_tuple() Dominik Brodowski
2009-10-27 14:39 ` Greg KH
2009-10-28 21:27 ` Dominik Brodowski
2009-10-28 21:36 ` Greg KH
2009-10-29 0:02 ` Dominik Brodowski
2009-10-29 19:05 ` Greg KH
2009-10-29 20:46 ` Randy Dunlap
2009-11-01 17:49 ` Dominik Brodowski
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=20091026151958.a2e7871b.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@suse.de \
--cc=linux-next@vger.kernel.org \
--cc=linux-pcmcia@lists.infradead.org \
--cc=linux@dominikbrodowski.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).