[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170615051855.GC28985@kroah.com>
Date: Thu, 15 Jun 2017 07:18:55 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: "Edward A. James" <eajames@...ibm.com>
Cc: linux-kernel@...r.kernel.org, bradleyb@...ziesquirrel.com,
jk@...abs.org, cbostic@...ux.vnet.ibm.com, joel@....id.au,
andrew@...id.au
Subject: Re: [PATCH linux] drivers/fsi: Add SBEFIFO FSI client device driver
On Wed, Jun 14, 2017 at 02:47:27PM -0500, Edward A. James wrote:
> --- /dev/null
> +++ b/include/linux/fsi-sbefifo.h
> @@ -0,0 +1,30 @@
> +/*
> + * SBEFIFO FSI Client device driver
> + *
> + * Copyright (C) IBM Corporation 2017
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + */
> +
> +#ifndef LINUX_FSI_SBEFIFO_H
> +#define LINUX_FSI_SBEFIFO_H
> +
> +struct device;
> +struct sbefifo_client;
> +
> +extern struct sbefifo_client *sbefifo_drv_open(struct device *dev,
> + unsigned long flags);
> +extern int sbefifo_drv_read(struct sbefifo_client *client, char *buf,
> + size_t len);
> +extern int sbefifo_drv_write(struct sbefifo_client *client, const char *buf,
> + size_t len);
> +extern void sbefifo_drv_release(struct sbefifo_client *client);
> +
> +#endif /* LINUX_FSI_SBEFIFO_H */
Why do you need this .h file at all? Nothing is calling it, right?
thanks,
greg k-h
Powered by blists - more mailing lists