Move static keyword at beginning of declaration
Move the static keyword around to remove the following warnings (W=1): arch/powerpc/platforms/ps3/os-area.c:212:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] arch/powerpc/platforms/ps3/system-bus.c:45:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Mathieu Malaterre <malat@debian.org> Acked-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
e5c27ef7a5
commit
8e0f973575
@@ -37,12 +37,12 @@ static struct device ps3_system_bus = {
|
||||
};
|
||||
|
||||
/* FIXME: need device usage counters! */
|
||||
struct {
|
||||
static struct {
|
||||
struct mutex mutex;
|
||||
int sb_11; /* usb 0 */
|
||||
int sb_12; /* usb 0 */
|
||||
int gpu;
|
||||
} static usage_hack;
|
||||
} usage_hack;
|
||||
|
||||
static int ps3_is_device(struct ps3_system_bus_device *dev, u64 bus_id,
|
||||
u64 dev_id)
|
||||
|
Reference in New Issue
Block a user