Ignore:
Timestamp:
Sep 4, 2022, 11:22:12 AM (3 years ago)
Author:
Paul Smedley
Message:

Revert unnecessary patches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/lib32/regcache.c

    r721 r724  
    2222#include "internal.h"
    2323
    24 /*static*/ const struct regcache_ops *cache_types[] = {
     24static const struct regcache_ops *cache_types[] = {
    2525        &regcache_rbtree_ops,
    2626#if IS_ENABLED(CONFIG_REGCACHE_COMPRESSED)
     
    3030};
    3131
    32 /*static*/ int regcache_hw_init(struct regmap *map)
     32static int regcache_hw_init(struct regmap *map)
    3333{
    3434        int i, j;
     
    283283}
    284284
    285 /*static*/ bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg,
     285static bool regcache_reg_needs_sync(struct regmap *map, unsigned int reg,
    286286                                    unsigned int val)
    287287{
     
    299299}
    300300
    301 /*static*/ int regcache_default_sync(struct regmap *map, unsigned int min,
     301static int regcache_default_sync(struct regmap *map, unsigned int min,
    302302                                 unsigned int max)
    303303{
     
    649649}
    650650
    651 /*static*/ int regcache_default_cmp(const void *a, const void *b)
     651static int regcache_default_cmp(const void *a, const void *b)
    652652{
    653653        const struct reg_default *_a = a;
     
    674674}
    675675
    676 /*static*/ bool regcache_reg_present(unsigned long *cache_present, unsigned int idx)
     676static bool regcache_reg_present(unsigned long *cache_present, unsigned int idx)
    677677{
    678678        if (!cache_present)
     
    682682}
    683683
    684 /*static*/ int regcache_sync_block_single(struct regmap *map, void *block,
     684static int regcache_sync_block_single(struct regmap *map, void *block,
    685685                                      unsigned long *cache_present,
    686686                                      unsigned int block_base,
     
    718718}
    719719
    720 /*static*/ int regcache_sync_block_raw_flush(struct regmap *map, const void **data,
     720static int regcache_sync_block_raw_flush(struct regmap *map, const void **data,
    721721                                         unsigned int base, unsigned int cur)
    722722{
     
    746746}
    747747
    748 /*static*/ int regcache_sync_block_raw(struct regmap *map, void *block,
     748static int regcache_sync_block_raw(struct regmap *map, void *block,
    749749                            unsigned long *cache_present,
    750750                            unsigned int block_base, unsigned int start,
Note: See TracChangeset for help on using the changeset viewer.