Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • arch
  • powerpc
  • include
  • asm
  • cpm.h
Find file BlameHistoryPermalink
  • Anton Vorontsov's avatar
    powerpc/cpm: Reintroduce global spi_pram struct (fixes build issue) · 56825c88
    Anton Vorontsov authored Jul 08, 2010
    spi_t was removed in commit 644b2a68
    
    
    ("powerpc/cpm: Remove SPI defines and spi structs"), the commit assumed
    that spi_t isn't used anywhere outside of the spi_mpc8xxx driver. But
    it appears that the struct is needed for micropatch code. So, let's
    reintroduce the struct.
    
    Fixes the following build issue:
    
        CC      arch/powerpc/sysdev/micropatch.o
      micropatch.c: In function 'cpm_load_patch':
      micropatch.c:629: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
      micropatch.c:629: error: 'spp' undeclared (first use in this function)
      micropatch.c:629: error: (Each undeclared identifier is reported only once
      micropatch.c:629: error: for each function it appears in.)
    Reported-by: default avatarLEROY Christophe <christophe.leroy@c-s.fr>
    Reported-by: default avatarTony Breeds <tony@bakeyournoodle.com>
    Cc: <stable@kernel.org> [ .33, .34 ]
    Signed-off-by: default avatarAnton Vorontsov <avorontsov@mvista.com>
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    56825c88

Replace cpm.h

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.