[PATCH] staging: greybus: Move Documentation to Documentation/

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Feb 7 08:02:42 UTC 2017


On Tue, Feb 07, 2017 at 11:15:29AM +0530, Viresh Kumar wrote:
> Move all greybus documentation to the top level Documentation/
> directory, as that's the obvious place where everyone will look for it.

No, not until we have the core greybus code out of staging.  While code
is in staging, it is self-contained, and shouldn't spread outside of
it's own directory.

Also, when it moves to Documentation, it needs to tie into the newer
kernel documentation build system so that it gets built properly.

> 
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
> ---
>  .../Documentation => Documentation/greybus}/firmware/authenticate.c       | 0
>  .../Documentation => Documentation/greybus}/firmware/firmware-management  | 0
>  .../greybus/Documentation => Documentation/greybus}/firmware/firmware.c   | 0
>  .../greybus/Documentation => Documentation/greybus}/sysfs-bus-greybus     | 0
>  4 files changed, 0 insertions(+), 0 deletions(-)
>  rename {drivers/staging/greybus/Documentation => Documentation/greybus}/firmware/authenticate.c (100%)
>  rename {drivers/staging/greybus/Documentation => Documentation/greybus}/firmware/firmware-management (100%)
>  rename {drivers/staging/greybus/Documentation => Documentation/greybus}/firmware/firmware.c (100%)
>  rename {drivers/staging/greybus/Documentation => Documentation/greybus}/sysfs-bus-greybus (100%)
> 
> diff --git a/drivers/staging/greybus/Documentation/firmware/authenticate.c b/Documentation/greybus/firmware/authenticate.c
> similarity index 100%
> rename from drivers/staging/greybus/Documentation/firmware/authenticate.c
> rename to Documentation/greybus/firmware/authenticate.c

Shouldn't the .c files go into a tools directory?

> diff --git a/drivers/staging/greybus/Documentation/firmware/firmware-management b/Documentation/greybus/firmware/firmware-management
> similarity index 100%
> rename from drivers/staging/greybus/Documentation/firmware/firmware-management
> rename to Documentation/greybus/firmware/firmware-management
> diff --git a/drivers/staging/greybus/Documentation/firmware/firmware.c b/Documentation/greybus/firmware/firmware.c
> similarity index 100%
> rename from drivers/staging/greybus/Documentation/firmware/firmware.c
> rename to Documentation/greybus/firmware/firmware.c
> diff --git a/drivers/staging/greybus/Documentation/sysfs-bus-greybus b/Documentation/greybus/sysfs-bus-greybus
> similarity index 100%
> rename from drivers/staging/greybus/Documentation/sysfs-bus-greybus
> rename to Documentation/greybus/sysfs-bus-greybus

Also, this file needs to go to Documentation/ABI/testing/ right?

sorry, not going to take this.

greg k-h


More information about the devel mailing list