diff options
| author | Bhumika Goyal <[email protected]> | 2017-02-01 21:30:26 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-02-03 10:05:11 +0100 |
| commit | c0927fea6ae6529893eeefe2cf97f76877e8929e (patch) | |
| tree | 935619d17f66a59eea0c8ef256ab66b9cec2cb6a /fs/btrfs/dev-replace.c | |
| parent | 369469a92393d8e365093d44c0df7a7b6430bc8b (diff) | |
usb: musb: omap2430: constify dev_pm_ops structures
Declare dev_pm_ops structures as const as they are only stored in the pm
field of a device_driver structure. This field is of type const, so
dev_pm_ops structures having similar properties can be declared const
too.
Size details after cross compiling the .o file for arm
architecture.
File size before: drivers/usb/musb/omap2430.o
text data bss dec hex filename
4141 400 8 4549 11c5 usb/musb/omap2430.o
File size after: drivers/usb/musb/omap2430.o
text data bss dec hex filename
4333 200 8 4541 11bd usb/musb/omap2430.o
Signed-off-by: Bhumika Goyal <[email protected]>
[[email protected]: added omap2430 in commit subject prefix]
Signed-off-by: Bin Liu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions